fix icon shrinking on snackbars with a lot of text
This commit is contained in:
parent
86003c73a3
commit
edc30ce8bd
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,8 @@
|
||||||
position: fixed;
|
position: fixed;
|
||||||
transition: all var(--transition-duration) var(--transition-type);
|
transition: all var(--transition-duration) var(--transition-type);
|
||||||
z-index: 10000; // hack to get it over react modal
|
z-index: 10000; // hack to get it over react modal
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
.snack-bar--upgrade {
|
.snack-bar--upgrade {
|
||||||
|
@ -35,6 +37,7 @@
|
||||||
.snack-bar__action {
|
.snack-bar__action {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin: var(--spacing-s) 0;
|
margin: var(--spacing-s) 0;
|
||||||
|
margin-left: auto;
|
||||||
min-width: min-content;
|
min-width: min-content;
|
||||||
color: var(--color-white);
|
color: var(--color-white);
|
||||||
|
|
||||||
|
@ -51,5 +54,6 @@
|
||||||
|
|
||||||
.icon {
|
.icon {
|
||||||
margin-right: var(--spacing-m);
|
margin-right: var(--spacing-m);
|
||||||
|
min-width: 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue