Fix button styles
Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
parent
784deaa6ea
commit
7db674b65d
1 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
@use 'state';
|
@use 'state';
|
||||||
@use '../../partials/dir';
|
@use '../../partials/dir';
|
||||||
|
@use '../../partials/text';
|
||||||
|
|
||||||
.btn-surface,
|
.btn-surface,
|
||||||
.btn-primary,
|
.btn-primary,
|
||||||
|
@ -18,11 +19,16 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@include state.disabled;
|
@include state.disabled;
|
||||||
|
|
||||||
|
& .text {
|
||||||
|
@extend .cp-txt__ellipsis;
|
||||||
|
}
|
||||||
|
|
||||||
&--icon {
|
&--icon {
|
||||||
@include dir.side(padding, var(--sp-tight), var(--sp-loose));
|
@include dir.side(padding, var(--sp-tight), var(--sp-loose));
|
||||||
|
|
||||||
.ic-raw {
|
.ic-raw {
|
||||||
@include dir.side(margin, 0, var(--sp-extra-tight));
|
@include dir.side(margin, 0, var(--sp-extra-tight));
|
||||||
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue