From 308f371b957545d19ec81116006de14dfbf61585 Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 19 Sep 2024 16:25:28 -0600 Subject: [PATCH] Make select & tree dropdown have same border radius --- api/js/etemplate/Et2Tree/Et2TreeDropdown.styles.ts | 2 +- pixelegg/css/fancy.css | 1 + pixelegg/css/fancy.less | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/api/js/etemplate/Et2Tree/Et2TreeDropdown.styles.ts b/api/js/etemplate/Et2Tree/Et2TreeDropdown.styles.ts index bb32e4518f..513ee286d9 100644 --- a/api/js/etemplate/Et2Tree/Et2TreeDropdown.styles.ts +++ b/api/js/etemplate/Et2Tree/Et2TreeDropdown.styles.ts @@ -223,7 +223,7 @@ export default css` box-shadow: var(--sl-shadow-large); background: var(--sl-panel-background-color); border: solid var(--sl-panel-border-width) var(--sl-panel-border-color); - border-radius: var(--sl-border-radius-medium); + border-radius: var(--sl-border-radius-small); padding-block: var(--sl-spacing-x-small); padding-inline: 0; overflow-y: auto; diff --git a/pixelegg/css/fancy.css b/pixelegg/css/fancy.css index 53060459a1..5350e5c30b 100644 --- a/pixelegg/css/fancy.css +++ b/pixelegg/css/fancy.css @@ -7153,6 +7153,7 @@ img.et2_button_icon[src*="svg"]:hover { .sl-theme-light, .sl-theme-dark { --sl-border-radius-medium: 20px; + --sl-border-radius-small: 1rem; --sl-input-border-radius-medium: var(--sl-border-radius-medium); --et2-button-image-padding-left: 0.6rem; } diff --git a/pixelegg/css/fancy.less b/pixelegg/css/fancy.less index 29f50e0d46..240c6233b6 100644 --- a/pixelegg/css/fancy.less +++ b/pixelegg/css/fancy.less @@ -10,6 +10,7 @@ // overwriting pixelegg.less and Shoelace themes :root, :host, .sl-theme-light, .sl-theme-dark { --sl-border-radius-medium: 20px; + --sl-border-radius-small: 1rem; --sl-input-border-radius-medium: var(--sl-border-radius-medium); --et2-button-image-padding-left: .6rem;