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

Commit

Permalink
fix(Button): rename fab
Browse files Browse the repository at this point in the history
Signed-off-by: Florian-Schoenherr <[email protected]>
  • Loading branch information
Florian-Schoenherr committed Feb 3, 2021
1 parent 075b821 commit b713ef5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/svelte-materialify/src/components/Button/Button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
}
}

&:not(.icon):not(.fab) {
&:not(.icon):not(.s-btn--fab) {
@each $name, $size in $btn-sizes {
&.size-#{$name} {
height: #{$size}px;
Expand Down Expand Up @@ -140,7 +140,7 @@
}

&.icon,
&.fab {
&.s-btn--fab {
border-radius: 50%;
min-width: 0;
min-height: 0;
Expand All @@ -152,7 +152,7 @@
}
}

&.fab {
&.s-btn--fab {
@each $size, $value in $fab-sizes {
&.size-#{$size} {
height: #{$value}px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

<button
class="s-btn size-{size} {klass}"
class:fab
class:s-btn--fab={fab}
class:icon
class:block
class:tile
Expand Down

1 comment on commit b713ef5

@vercel
Copy link

@vercel vercel bot commented on b713ef5 Feb 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.