From 2e23e789373b7f51180644ff7fd7131e009d1227 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sat, 1 Jun 2024 02:05:42 +0300 Subject: [PATCH] Update WI top block layout --- public/css/mobile-styles.css | 3 +- public/css/select2-overrides.css | 10 ++ public/index.html | 209 ++++++++++++++++--------------- public/style.css | 15 ++- 4 files changed, 135 insertions(+), 102 deletions(-) diff --git a/public/css/mobile-styles.css b/public/css/mobile-styles.css index 0e5a7f0c1..dca2c8fe8 100644 --- a/public/css/mobile-styles.css +++ b/public/css/mobile-styles.css @@ -117,7 +117,8 @@ max-width: unset; } - #wiActivationSettings { + #wiActivationSettings, + #wiTopBlock { flex-direction: column; } diff --git a/public/css/select2-overrides.css b/public/css/select2-overrides.css index 776bf48ed..9598acb51 100644 --- a/public/css/select2-overrides.css +++ b/public/css/select2-overrides.css @@ -199,6 +199,8 @@ span.select2.select2-container .select2-selection__choice__remove:hover { transition: background-color 0.3s; color: var(--SmartThemeBodyColor); background-color: var(--black50a); + white-space: break-spaces; + word-break: break-all; } .select2_choice_clickable_buttonstyle+span.select2-container .select2-selection__choice__display:hover { @@ -218,6 +220,14 @@ span.select2.select2-container .select2-selection__choice__remove:hover { /* Fix weird styling choice or huge margin around selected options */ margin-block-start: 2px; margin-block-end: 2px; + display: flex; + align-items: center; + flex-wrap: wrap; + row-gap: 5px; +} + +.select2_multi_sameline+span.select2-container .select2-selection--multiple .select2-selection__choice { + margin-top: 0px; } .select2_multi_sameline+span.select2-container .select2-selection--multiple .select2-search__field { diff --git a/public/index.html b/public/index.html index f7e47502a..efc4f2c9e 100644 --- a/public/index.html +++ b/public/index.html @@ -3399,108 +3399,117 @@