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 {
@include font-body-2;
color: $color-gray-05;
overflow: hidden;
text-overflow: ellipsis;
user-select: none;

View file

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