From: Joseph Coffland Date: Mon, 8 Mar 2021 03:28:57 +0000 (-0800) Subject: Fixed problem with web layout while using virtual keyboard X-Git-Url: https://git.buildbotics.com/?a=commitdiff_plain;h=0208e0da6efcd29f805ab81230ebb097e1779d5c;p=bbctrl-firmware Fixed problem with web layout while using virtual keyboard --- diff --git a/CHANGELOG.md b/CHANGELOG.md index b3dc454..dcc986f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ Buildbotics CNC Controller Firmware Changelog - Fixed error setting lower soft limit with virtual keyboard installed. #249 - Fix numerical overflow causing long (time) linear moves to fail. #258 - Better gamepad handling + - Fixed problem with web layout while using virtual keyboard ## v0.4.16 - Improved axis under/over warning tooltip. diff --git a/src/stylus/color-picker.styl b/src/stylus/color-picker.styl index 916c061..388a976 100644 --- a/src/stylus/color-picker.styl +++ b/src/stylus/color-picker.styl @@ -3,6 +3,7 @@ width 1.5em border 1px solid #aaa cursor pointer + overflow hidden input opacity 0 diff --git a/src/stylus/main.styl b/src/stylus/main.styl index 62d8fa8..fc84380 100644 --- a/src/stylus/main.styl +++ b/src/stylus/main.styl @@ -1,6 +1,10 @@ #main overflow-y scroll - height 100vh + position fixed + top 0 + right 0 + left 150px + bottom 0 display flex flex-direction column @@ -29,3 +33,7 @@ padding 0.7em 1em border-radius 3px display inline-block + +@media (max-width: 48em) + #main + left 0