From ebeba0db113f57dc0738348426073e001349b7d5 Mon Sep 17 00:00:00 2001 From: Ben Wagner Date: Wed, 16 Dec 2020 12:44:08 -0500 Subject: [PATCH] Allow panel area to resize. When there are many axes the "Delta Sets" view can get quite wide, and other panels can also get a bit crowded. Allow the user to resize the panel area. --- src/samsa-gui.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/samsa-gui.css b/src/samsa-gui.css index f39f682..d6a0b73 100644 --- a/src/samsa-gui.css +++ b/src/samsa-gui.css @@ -136,7 +136,7 @@ button.close { width: 100vw; height: 100vh; display: grid; - grid-template-columns: 360px 1fr; + grid-template-columns: 0fr 1fr; grid-template-rows: 80px 1fr; background-color: beige; /* on font load becomes transparent */ @@ -203,7 +203,11 @@ button.close { .panel-container { position: relative; background-color: beige; + overflow-x: auto; overflow-y: scroll; + resize: horizontal; + min-width: 360px; + max-width: 50vw; }