From f9ab3b077c4d4b0ee2e91def7b473d010364c969 Mon Sep 17 00:00:00 2001 From: Svetlana Rastegina Date: Thu, 18 Mar 2021 18:23:56 +0100 Subject: [PATCH] Fixed shelf tools width for article page. --- webapp/src/main/webapp/themes/iph/css/iph.css | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/webapp/src/main/webapp/themes/iph/css/iph.css b/webapp/src/main/webapp/themes/iph/css/iph.css index b6c1a326..c83325f0 100644 --- a/webapp/src/main/webapp/themes/iph/css/iph.css +++ b/webapp/src/main/webapp/themes/iph/css/iph.css @@ -2806,7 +2806,7 @@ span.iconControlsEditable { padding-top: 5px; } .expandSwitch { - width: 20%; + width: auto; text-align: center; font-family: "Roboto"; font-size: 1rem; @@ -2837,6 +2837,7 @@ span.iconControlsEditable { justify-content: flex-end; border-bottom: 1px solid #8B4513; background-color: #F6F6F6; + width: 100%; } #articleIconsWrapper { margin-top: 25px; @@ -2849,7 +2850,7 @@ span.iconControlsEditable { padding-right: 10px; } .articleButtons { - width: 10%; + /*width: 10%;*/ display: flex; justify-content: flex-end; } @@ -3037,6 +3038,7 @@ input#expandCB { label.switch { padding-top: 6px; padding-left: 12px; + padding-right: 12px; } #collapseTextControl:hover { color: #8B4513; @@ -3184,9 +3186,6 @@ label.switch >#collapseTextControl >img { .display >div#articleWrapper { width: 90%; } - .expandSwitch { - font-size: 0.9rem; - } } @media screen and (max-width: 1300px) { @@ -3229,9 +3228,6 @@ label.switch >#collapseTextControl >img { .display >div#articleWrapper { width: 95%; } - .expandSwitch { - font-size: 0.7rem; - } } @media screen and (max-width: 1100px) {