diff --git a/app/src/assets/icon-tablet.svg b/app/src/assets/icon-tablet.svg new file mode 100644 index 000000000..d8e544126 --- /dev/null +++ b/app/src/assets/icon-tablet.svg @@ -0,0 +1,3 @@ + + + diff --git a/app/src/components/AppBar/index.tsx b/app/src/components/AppBar/index.tsx index 7a1008de7..f2b1fe1f8 100644 --- a/app/src/components/AppBar/index.tsx +++ b/app/src/components/AppBar/index.tsx @@ -27,7 +27,7 @@ const AppBar = observer(() => { 'flex flex-row items-center pl-20 h-10 border-b bg-background dark:bg-background-active transition-colors duration-300 ease-in-out', routeManager.route === Route.SIGN_IN && 'bg-transparent border-b-0', updateManager.updateAvailable && - 'bg-red-950 transition-opacity duration-300 ease-in-out', + 'bg-red-950 dark:bg-red-950 dark:text-red-300 text-red-300 transition-opacity duration-300 ease-in-out', )} >
@@ -36,7 +36,10 @@ const AppBar = observer(() => { - - -

+ +

Preset Dimensions

@@ -210,15 +213,18 @@ function BrowserControls({ resizeToPreset(preset.width, preset.height, preset.name) } className={clsx( - 'w-full grid grid-cols-2 px-4 py-4 transition-colors duration-200', + 'w-full flex flex-row gap-2 px-3 py-3 transition-colors duration-200 items-center', selectedPreset === preset.name - ? 'bg-background-active/80' - : 'bg-transparent', - 'hover:bg-background-active/80', + ? 'bg-background-tertiary text-foreground-primary' + : 'bg-transparent text-foreground-secondary', + 'hover:bg-background-tertiary/50 hover:text-foreground-primary', )} > - {preset.name} - {`${preset.width} x ${preset.height}`} + {preset.icon} + + {preset.name} + + {`${preset.width} × ${preset.height}`} ))}
diff --git a/app/src/routes/editor/WebviewArea/Frame.tsx b/app/src/routes/editor/WebviewArea/Frame.tsx index a8240ca2b..720599314 100644 --- a/app/src/routes/editor/WebviewArea/Frame.tsx +++ b/app/src/routes/editor/WebviewArea/Frame.tsx @@ -117,7 +117,7 @@ const Frame = observer( } return ( -
+
startResize(e, [HandleType.Bottom])} > -
+
startResize(e, [HandleType.Right])} > -
+
startResize(e, [HandleType.Right, HandleType.Bottom])} > -
+
);