Skip to content

Commit

Permalink
fix(button): убраны лишние отступы для вида ghost (#933)
Browse files Browse the repository at this point in the history
  • Loading branch information
reme3d2y committed Dec 29, 2021
1 parent 37049af commit f43cdf6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/button/src/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ a.loading {
&.xl {
padding-right: var(--gap-2xl);
}

&.ghost {
padding-right: 0;
}
}

.withLeftAddons {
Expand All @@ -183,6 +187,10 @@ a.loading {
&.xl {
padding-left: var(--gap-2xl);
}

&.ghost {
padding-left: 0;
}
}

.link {
Expand Down

0 comments on commit f43cdf6

Please sign in to comment.