Update screen-sharing window styling

This commit is contained in:
trevor-signal 2023-05-16 15:15:08 -04:00 committed by trevor-signal
parent 5869717cd3
commit a0d98ab312
2 changed files with 8 additions and 7 deletions

View file

@ -11,7 +11,6 @@
&__text { &__text {
@include font-body-2; @include font-body-2;
color: $color-gray-05;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
user-select: none; user-select: none;

View file

@ -13,12 +13,14 @@ const { ScreenShareWindowProps } = window.Signal;
strictAssert(ScreenShareWindowProps, 'window values not provided'); strictAssert(ScreenShareWindowProps, 'window values not provided');
ReactDOM.render( ReactDOM.render(
<CallingScreenSharingController <div className="App dark-theme">
i18n={i18n} <CallingScreenSharingController
onCloseController={() => window.SignalContext.executeMenuRole('close')} i18n={i18n}
onStopSharing={ScreenShareWindowProps.onStopSharing} onCloseController={() => window.SignalContext.executeMenuRole('close')}
presentedSourceName={ScreenShareWindowProps.presentedSourceName} onStopSharing={ScreenShareWindowProps.onStopSharing}
/>, presentedSourceName={ScreenShareWindowProps.presentedSourceName}
/>
</div>,
document.getElementById('app') document.getElementById('app')
); );