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:
@@ -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;
|
||||
|
||||
|
||||
@@ -117,8 +117,8 @@ Navbar
|
||||
|
||||
.badge {
|
||||
position: absolute;
|
||||
top: 0.375rem;
|
||||
right: 0.375rem;
|
||||
top: .5rem;
|
||||
right: .5rem;
|
||||
transform: translate(50%, -50%);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user