From a8454568b1968dd16c1aa777fcc8038f7e047937 Mon Sep 17 00:00:00 2001 From: toasted-nutbread Date: Wed, 30 Dec 2020 13:32:41 -0500 Subject: Improve wrapping layout for small resolutions (#1181) --- ext/bg/css/settings2.css | 9 +++++++++ ext/bg/settings2.html | 18 +++++++++--------- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git a/ext/bg/css/settings2.css b/ext/bg/css/settings2.css index 4015ce79..fcbeb0cb 100644 --- a/ext/bg/css/settings2.css +++ b/ext/bg/css/settings2.css @@ -596,6 +596,15 @@ h3 { .settings-item-children.settings-item-children-group .settings-item-left { padding-left: 0; } +.settings-item-children.settings-item-children-group .settings-item-inner.settings-item-inner-wrappable>.settings-item-left:not(:last-child) { + padding-right: calc( + var(--settings-group-inner-horizontal-padding-half-wrappable) + + var(--settings-group-inner-horizontal-padding-half-wrappable) + ); +} +.settings-item-children.settings-item-children-group .settings-item-inner.settings-item-inner-wrappable>.settings-item-right { + padding-left: 0; +} .settings-item-children.settings-item-children-group .settings-item-children { padding-left: 0; } diff --git a/ext/bg/settings2.html b/ext/bg/settings2.html index 65b5de5a..41cd3946 100644 --- a/ext/bg/settings2.html +++ b/ext/bg/settings2.html @@ -253,7 +253,7 @@