1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-21 17:34:25 +04:00

style: Update badge positioning and size in navbar and adjust SCSS variables for consistency

This commit is contained in:
codecalm
2025-11-15 13:37:14 +01:00
parent 5018aa9113
commit ba7bb880c4
5 changed files with 14 additions and 20 deletions

View File

@@ -589,7 +589,7 @@ $badge-line-height: $code-line-height !default;
$badge-font-weight: var(--#{$prefix}font-weight-medium) !default;
$badge-padding-y: 0.25em !default;
$badge-padding-x: 0.5em !default;
$badge-empty-size: 10px !default;
$badge-empty-size: .5rem !default;
$badge-color: var(--#{$prefix}secondary) !default;
$badge-bg-color: var(--#{$prefix}bg-surface-secondary) !default;

View File

@@ -117,8 +117,8 @@ Navbar
.badge {
position: absolute;
top: 0.375rem;
right: 0.375rem;
top: .5rem;
right: .5rem;
transform: translate(50%, -50%);
}
}