Skip to content

Commit 26377b3

Browse files
authored
fix(b-avatar): remove default padding when in button mode (fixes #5073) (#5076)
1 parent 35f124e commit 26377b3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/avatar/_avatar.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@
2121
}
2222

2323
&a,
24-
&button {
24+
&button,
25+
&.btn {
26+
padding: 0;
27+
border: 0;
28+
2529
&:not(:disabled):not(.disabled) {
2630
cursor: if($enable-pointer-cursor-for-buttons, pointer, null);
2731
}

0 commit comments

Comments
 (0)