From 90ce030304681159ccfc42b79dbf7439f0b3354f Mon Sep 17 00:00:00 2001 From: JFH <20402845+jfhenon@users.noreply.github.com> Date: Mon, 9 Aug 2021 17:35:07 +0200 Subject: [PATCH] minimum 2 lines for toolbar on smaller screen --- src/editor/svgedit.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/editor/svgedit.css b/src/editor/svgedit.css index 9dec2a39..f0ac8acb 100644 --- a/src/editor/svgedit.css +++ b/src/editor/svgedit.css @@ -32,6 +32,13 @@ height: 100%; } +/* on smaller screen, allow 2 lines for the toolbar */ +@media screen and (max-width:1250px) { + .svg_editor { + grid-template-rows: minmax(80px, auto) 15px 1fr 40px; + } +} + #svgroot { user-select: none; position: absolute;