Fix padding if empty button
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
c87d48700c
commit
dda4b3b272
|
@ -615,7 +615,8 @@ em {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
padding: 0 !important;
|
margin: 0;
|
||||||
|
font-weight: inherit;
|
||||||
/* prevent .action class to break the design */
|
/* prevent .action class to break the design */
|
||||||
&.action {
|
&.action {
|
||||||
padding: inherit !important;
|
padding: inherit !important;
|
||||||
|
@ -641,6 +642,7 @@ em {
|
||||||
}
|
}
|
||||||
/* Add padding if contains icon+text */
|
/* Add padding if contains icon+text */
|
||||||
&:not(:empty) {
|
&:not(:empty) {
|
||||||
|
padding: 0 !important;
|
||||||
padding-right: 10px !important;
|
padding-right: 10px !important;
|
||||||
}
|
}
|
||||||
> img {
|
> img {
|
||||||
|
|
Loading…
Reference in New Issue