diff --git a/packages/web/src/Screen.svelte b/packages/web/src/Screen.svelte index 931da812..7db86775 100644 --- a/packages/web/src/Screen.svelte +++ b/packages/web/src/Screen.svelte @@ -24,10 +24,14 @@ import DragAndDropFileTarget from './DragAndDropFileTarget.svelte'; import dragDropFileTarget from './utility/dragDropFileTarget'; import TitleBar from './widgets/TitleBar.svelte'; + import FontIcon from './icons/FontIcon.svelte'; + import getElectron from './utility/getElectron'; $: currentThemeType = $currentThemeDefinition?.themeType == 'dark' ? 'theme-type-dark' : 'theme-type-light'; $: themeStyle = ``; + + const isElectron = !!getElectron(); @@ -36,8 +40,15 @@ {/if} +
+
+
Sorry, DbGate is not supported on mobile devices.
+
Please visit DbGate web for more info.
+
+
e.preventDefault()} > @@ -174,4 +185,25 @@ right: 0; height: var(--dim-titlebar-height); } + + .not-supported { + display: none; + } + + @media only screen and (max-width: 600px) { + .dbgate-screen:not(.isElectron) { + display: none; + } + + .not-supported:not(.isElectron) { + display: block; + } + } + + .not-supported { + text-align: center; + } + .big-icon { + font-size: 20pt; + }