From ff539ed4e61c1ee32e34e24a53ab30168c647c9b Mon Sep 17 00:00:00 2001 From: Wagner Trezub <60133113+Wagner3UB@users.noreply.github.com> Date: Fri, 1 Dec 2023 10:27:09 +0100 Subject: [PATCH] fix: slate bar for small screens (#424) * fix: wrap slate bar for small screens * docs: release file updated --- RELEASE.md | 14 ++++++++++++++ src/config/Slate/dropdownStyle.scss | 17 +++++++++++------ yarn.lock | 6 +----- 3 files changed, 26 insertions(+), 11 deletions(-) diff --git a/RELEASE.md b/RELEASE.md index db32fce73..1891c0d0b 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -41,6 +41,20 @@ - ... --> +## Versione X.X.X (dd/mm/yyyy) + +### Migliorie + +- ... + +### Novità + +- ... [`Istruzioni`](url della documentazione relativa alla novità) + +### Fix + +- Sistemata la visualizzazione per la barra di Slate, ora è possibile visualizzare tutti i pulsanti anche su schermi più piccoli + ## Versione 10.4.3 (28/11/2023) ### Migliorie diff --git a/src/config/Slate/dropdownStyle.scss b/src/config/Slate/dropdownStyle.scss index fb47383d4..13b1266b3 100644 --- a/src/config/Slate/dropdownStyle.scss +++ b/src/config/Slate/dropdownStyle.scss @@ -1,9 +1,14 @@ -.cms-ui .slate-inline-toolbar .ui.dropdown .menu > .item { - &.active { - color: #007eb1; - background-color: lighten(#007eb1, 60); +.cms-ui .slate-inline-toolbar { + .ui.buttons { + flex-wrap: wrap; } - > .icon { - margin-right: 0; + .ui.dropdown .menu > .item { + &.active { + color: #007eb1; + background-color: lighten(#007eb1, 60); + } + > .icon { + margin-right: 0; + } } } diff --git a/yarn.lock b/yarn.lock index 0b010e6ad..cfbb0e251 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1018,11 +1018,7 @@ __metadata: languageName: node linkType: hard -<<<<<<< HEAD -"@babel/plugin-proposal-nullish-coalescing-operator@npm:7.18.6, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.10.4, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.18.6": -======= -"@babel/plugin-proposal-nullish-coalescing-operator@npm:^7.10.4, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.16.0, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.18.6": ->>>>>>> main +"@babel/plugin-proposal-nullish-coalescing-operator@npm:7.18.6, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.10.4, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.16.0, @babel/plugin-proposal-nullish-coalescing-operator@npm:^7.18.6": version: 7.18.6 resolution: "@babel/plugin-proposal-nullish-coalescing-operator@npm:7.18.6" dependencies: