From 4de5e5dafa7746dd52240dd743e3af04cd0becd5 Mon Sep 17 00:00:00 2001 From: aftercase <74765798+aftercase@users.noreply.github.com> Date: Wed, 25 Aug 2021 22:51:11 +0100 Subject: [PATCH] Fixed Pastedown bugs Fix bug on Pastedown where text broke through it's container. Fix mobile responsive bug where containers where remaining full size. Changes to UI --- theme/bulma/css/paste.css | 28 +++++++++++++++++++++++++++- theme/bulma/view.php | 6 +++--- 2 files changed, 30 insertions(+), 4 deletions(-) diff --git a/theme/bulma/css/paste.css b/theme/bulma/css/paste.css index fa60880..704f005 100644 --- a/theme/bulma/css/paste.css +++ b/theme/bulma/css/paste.css @@ -17,6 +17,13 @@ color: #bfbfbf; } +/* For future use +.li1 { + padding-left: 0.5em; + text-indent: -0.5em; +} +*/ + .theme-switch-wrapper { display: flex; align-items: center; @@ -105,8 +112,27 @@ input:checked + .slider:before { padding: 20px; } +@media only screen and (max-width: 600px) { .panel { - background-color: white; + background-color: #ffffff; + border: none !important; + border-style: none !important; + padding: 0px !important; + border-width: 0px !important; + box-shadow: none !important; + word-wrap: break-word; + } +} + + +.panel { + background-color: #ffffff; + border: #eeeeee; + border-style: solid; + padding: 10px; + border-width: 2px; + box-shadow: 5px 10px #eee; + word-wrap: break-word; } .tool-icon { diff --git a/theme/bulma/view.php b/theme/bulma/view.php index bb1e052..f9e10ac 100644 --- a/theme/bulma/view.php +++ b/theme/bulma/view.php @@ -218,7 +218,7 @@ $selectedloader = "$bg[$i]"; // set variable equal to which random filename was - +