mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 22:40:50 +01:00
temp css fixes
This commit is contained in:
parent
5a0c9f7e73
commit
bf782e46ea
@ -1,5 +1,5 @@
|
|||||||
.youtube-tv-widget
|
.youtube-tv-widget {
|
||||||
{
|
min-width: 400px;
|
||||||
/*
|
/*
|
||||||
.youtube-video-container
|
.youtube-video-container
|
||||||
{
|
{
|
||||||
@ -23,9 +23,4 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.playlist-container
|
|
||||||
{
|
|
||||||
min-width: 200px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -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 { FC, useCallback, useState } from 'react';
|
||||||
import { RoomWidgetUpdateYoutubeDisplayEvent } from '../../../../../api/nitro/room/widgets/events/RoomWidgetUpdateYoutubeDisplayEvent';
|
import { RoomWidgetUpdateYoutubeDisplayEvent } from '../../../../../api/nitro/room/widgets/events/RoomWidgetUpdateYoutubeDisplayEvent';
|
||||||
import { CreateEventDispatcherHook, CreateMessageHook } from '../../../../../hooks';
|
import { CreateEventDispatcherHook, CreateMessageHook } from '../../../../../hooks';
|
||||||
@ -103,7 +103,7 @@ export const FurnitureYoutubeDisplayView: FC<{}> = props =>
|
|||||||
<NitroCardContentView>
|
<NitroCardContentView>
|
||||||
<div className="row w-100">
|
<div className="row w-100">
|
||||||
<div className="youtube-video-container col-8">
|
<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>
|
||||||
<div className="playlist-container col-4">
|
<div className="playlist-container col-4">
|
||||||
lol
|
lol
|
||||||
|
Loading…
Reference in New Issue
Block a user