mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
allow to configure avatar-list-spacing (#1602)
This commit is contained in:
5
.changeset/soft-mangos-tie.md
Normal file
5
.changeset/soft-mangos-tie.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tabler/core": patch
|
||||
---
|
||||
|
||||
Add variable to configure `avatar-list` spacing
|
||||
@@ -339,6 +339,7 @@ $avatar-sizes: (
|
||||
$avatar-border-radius: var(--#{$prefix}border-radius) !default;
|
||||
$avatar-font-size: $h4-font-size !default;
|
||||
$avatar-box-shadow: var(--#{$prefix}box-shadow-border) !default;
|
||||
$avatar-list-spacing: -.5;
|
||||
|
||||
$link-decoration: none !default;
|
||||
$link-hover-decoration: underline !default;
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
--#{$prefix}list-gap: 0;
|
||||
|
||||
.avatar {
|
||||
margin-right: calc(-.5 * var(--#{$prefix}avatar-size)) !important;
|
||||
margin-right: calc(#{$avatar-list-spacing} * var(--#{$prefix}avatar-size)) !important;
|
||||
box-shadow: var(--#{$prefix}avatar-box-shadow), 0 0 0 2px var(--#{$prefix}card-cap-bg, var(--#{$prefix}card-bg, var(--#{$prefix}bg-surface)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user