From 93093667cd5111e9cf869a0ee959c0970ea12796 Mon Sep 17 00:00:00 2001 From: Charles Hacskaylo Date: Tue, 7 Jan 2025 15:39:57 -0800 Subject: [PATCH] Sanding and shimming in CSS related to Create menu - Create menu labels can now wrap. - Line height, padding adjusted for menu items. - Create menu filter input slimmed down a bit. --- src/api/menu/components/SuperMenu.vue | 3 +-- src/styles/_constants-darkmatter.scss | 2 +- src/styles/_constants-espresso.scss | 2 +- src/styles/_constants-maelstrom.scss | 2 +- src/styles/_constants-snow.scss | 2 +- src/styles/_controls.scss | 27 ++++----------------------- 6 files changed, 9 insertions(+), 29 deletions(-) diff --git a/src/api/menu/components/SuperMenu.vue b/src/api/menu/components/SuperMenu.vue index 3b4ddb1cbfd..d5db4b4ecc1 100644 --- a/src/api/menu/components/SuperMenu.vue +++ b/src/api/menu/components/SuperMenu.vue @@ -27,13 +27,12 @@ :style="styleObject" >
-
+
[class*='__'] { - //flex: 1 1 50%; - //&:first-child { - // margin-right: $m; - //} - - &:last-child { - //border-left: 1px solid $colorInteriorBorder; - //padding-left: $m; - } - } - &__left-col { display: flex; flex-direction: column; flex: 1 1 50%; + gap: $interiorMargin; margin-right: $m; } &__filter { flex: 0 0 auto; - width: 100%; - margin-bottom: $interiorMarginLg; - - .c-super-menu__filter-input { - @include nice-input(); - width: 100%; - padding: $interiorMargin; - &:focus { - background: $colorInputBg; - } - } } &__menu { @@ -696,6 +676,7 @@ select { li { border-radius: $controlCr; + white-space: normal; // Let long names wrap } }