temp css fixes

This commit is contained in:
Layne 2021-09-18 17:13:45 -04:00
parent 5a0c9f7e73
commit bf782e46ea
2 changed files with 4 additions and 9 deletions

View File

@ -1,5 +1,5 @@
.youtube-tv-widget
{
.youtube-tv-widget {
min-width: 400px;
/*
.youtube-video-container
{
@ -23,9 +23,4 @@
}
}
*/
.playlist-container
{
min-width: 200px;
}
}

View File

@ -1,4 +1,4 @@
import { YoutubeControlVideoMessageEvent, YoutubeDisplayPlaylistsEvent, YoutubeDisplayVideoMessageEvent } from '@nitrots/nitro-renderer/src/nitro/communication/messages/incoming/room/furniture/youtube';
import { YoutubeControlVideoMessageEvent, YoutubeDisplayPlaylistsEvent, YoutubeDisplayVideoMessageEvent } from '@nitrots/nitro-renderer';
import { FC, useCallback, useState } from 'react';
import { RoomWidgetUpdateYoutubeDisplayEvent } from '../../../../../api/nitro/room/widgets/events/RoomWidgetUpdateYoutubeDisplayEvent';
import { CreateEventDispatcherHook, CreateMessageHook } from '../../../../../hooks';
@ -103,7 +103,7 @@ export const FurnitureYoutubeDisplayView: FC<{}> = props =>
<NitroCardContentView>
<div className="row w-100">
<div className="youtube-video-container col-8">
<iframe title="yt" width="560" height="315" src={videoUrl} frameBorder="0" allowFullScreen allow="autoplay"></iframe>
<iframe title="yt" width="100%" height="100%" src={videoUrl} frameBorder="0" allowFullScreen allow="autoplay"></iframe>
</div>
<div className="playlist-container col-4">
lol