Make select & tree dropdown have same border radius

This commit is contained in:
nathan 2024-09-19 16:25:28 -06:00
parent c45246eac2
commit 308f371b95
3 changed files with 3 additions and 1 deletions

View File

@ -223,7 +223,7 @@ export default css`
box-shadow: var(--sl-shadow-large); box-shadow: var(--sl-shadow-large);
background: var(--sl-panel-background-color); background: var(--sl-panel-background-color);
border: solid var(--sl-panel-border-width) var(--sl-panel-border-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-block: var(--sl-spacing-x-small);
padding-inline: 0; padding-inline: 0;
overflow-y: auto; overflow-y: auto;

View File

@ -7153,6 +7153,7 @@ img.et2_button_icon[src*="svg"]:hover {
.sl-theme-light, .sl-theme-light,
.sl-theme-dark { .sl-theme-dark {
--sl-border-radius-medium: 20px; --sl-border-radius-medium: 20px;
--sl-border-radius-small: 1rem;
--sl-input-border-radius-medium: var(--sl-border-radius-medium); --sl-input-border-radius-medium: var(--sl-border-radius-medium);
--et2-button-image-padding-left: 0.6rem; --et2-button-image-padding-left: 0.6rem;
} }

View File

@ -10,6 +10,7 @@
// overwriting pixelegg.less and Shoelace themes // overwriting pixelegg.less and Shoelace themes
:root, :host, .sl-theme-light, .sl-theme-dark { :root, :host, .sl-theme-light, .sl-theme-dark {
--sl-border-radius-medium: 20px; --sl-border-radius-medium: 20px;
--sl-border-radius-small: 1rem;
--sl-input-border-radius-medium: var(--sl-border-radius-medium); --sl-input-border-radius-medium: var(--sl-border-radius-medium);
--et2-button-image-padding-left: .6rem; --et2-button-image-padding-left: .6rem;