Skip to content
This repository was archived by the owner on Sep 26, 2022. It is now read-only.

Commit b713ef5

Browse files
fix(Button): rename fab
Signed-off-by: Florian-Schoenherr <[email protected]>
1 parent 075b821 commit b713ef5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/svelte-materialify/src/components/Button/Button.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
}
8080
}
8181

82-
&:not(.icon):not(.fab) {
82+
&:not(.icon):not(.s-btn--fab) {
8383
@each $name, $size in $btn-sizes {
8484
&.size-#{$name} {
8585
height: #{$size}px;
@@ -140,7 +140,7 @@
140140
}
141141

142142
&.icon,
143-
&.fab {
143+
&.s-btn--fab {
144144
border-radius: 50%;
145145
min-width: 0;
146146
min-height: 0;
@@ -152,7 +152,7 @@
152152
}
153153
}
154154

155-
&.fab {
155+
&.s-btn--fab {
156156
@each $size, $value in $fab-sizes {
157157
&.size-#{$size} {
158158
height: #{$value}px;

packages/svelte-materialify/src/components/Button/Button.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
<button
2828
class="s-btn size-{size} {klass}"
29-
class:fab
29+
class:s-btn--fab={fab}
3030
class:icon
3131
class:block
3232
class:tile

0 commit comments

Comments
 (0)