diff options
| author | Henry Jameson <me@hjkos.com> | 2024-02-28 01:23:43 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2024-02-28 01:23:43 +0200 |
| commit | fe93717d47792eef88f4ec6200260f457d1e0bd2 (patch) | |
| tree | 1c828e4953f36bdf69be5d3e33c136c7cd13ef7d /src/components/popover/popover.vue | |
| parent | f4d48e401abd7789968e0b3decd50fc62bd7bc29 (diff) | |
consistent menu-items
Diffstat (limited to 'src/components/popover/popover.vue')
| -rw-r--r-- | src/components/popover/popover.vue | 32 |
1 files changed, 9 insertions, 23 deletions
diff --git a/src/components/popover/popover.vue b/src/components/popover/popover.vue index 7aec4404..00d9c3cd 100644 --- a/src/components/popover/popover.vue +++ b/src/components/popover/popover.vue @@ -94,26 +94,12 @@ } .dropdown-item { - line-height: 21px; - overflow: hidden; - display: block; - padding: 0.5em 0.75em; - clear: both; - font-weight: 400; - text-align: inherit; - white-space: nowrap; - border: none; - border-radius: 0; - background-color: transparent; - box-shadow: none; - width: 100%; - height: 100%; - box-sizing: border-box; + border-bottom: none; &-icon { svg { - width: 22px; - margin-right: 0.75rem; + width: var(--__line-height); + margin-right: var(--__horizontal-gap); } } @@ -127,15 +113,15 @@ .menu-checkbox { display: inline-block; vertical-align: middle; - min-width: 22px; - max-width: 22px; - min-height: 22px; - max-height: 22px; - line-height: 22px; + min-width: calc(var(--__line-height) + 1px); + max-width: calc(var(--__line-height) + 1px); + min-height: calc(var(--__line-height) + 1px); + max-height: calc(var(--__line-height) + 1px); + line-height: var(--__line-height); text-align: center; border-radius: 0; box-shadow: var(--shadow); - margin-right: 0.75em; + margin-right: var(--__horizontal-gap); &.menu-checkbox-checked::after { font-size: 1.25em; |
