diff --git a/src/components/modals/webApp/WebAppModal.module.scss b/src/components/modals/webApp/WebAppModal.module.scss index 30fea2142..33d9619cd 100644 --- a/src/components/modals/webApp/WebAppModal.module.scss +++ b/src/components/modals/webApp/WebAppModal.module.scss @@ -290,6 +290,10 @@ height: 1.75rem !important; } +.fullscreenButton { + margin-right: 0.5rem; +} + .tab-close-button { transition: opacity 0.25s ease-in-out; opacity: 0; diff --git a/src/components/modals/webApp/WebAppModal.tsx b/src/components/modals/webApp/WebAppModal.tsx index e7636c161..59fedec9d 100644 --- a/src/components/modals/webApp/WebAppModal.tsx +++ b/src/components/modals/webApp/WebAppModal.tsx @@ -306,6 +306,10 @@ const WebAppModal: FC = ({ changeWebAppModalState({ state: 'minimized' }); }); + const handleFullscreenClick = useLastCallback(() => { + changeWebAppModalState({ state: 'fullScreen' }); + }); + const handleOpenMoreAppsTabClick = useLastCallback(() => { openMoreAppsTab(); }); @@ -588,6 +592,20 @@ const WebAppModal: FC = ({ {renderTabs()} {renderMoreMenu()} + +