fix icon shrinking on snackbars with a lot of text

This commit is contained in:
Sean Yesmunt 2020-09-09 16:32:04 -04:00
parent 86003c73a3
commit edc30ce8bd

View file

@ -9,6 +9,8 @@
position: fixed;
transition: all var(--transition-duration) var(--transition-type);
z-index: 10000; // hack to get it over react modal
display: flex;
flex-direction: column;
}
.snack-bar--upgrade {
@ -35,6 +37,7 @@
.snack-bar__action {
display: inline-block;
margin: var(--spacing-s) 0;
margin-left: auto;
min-width: min-content;
color: var(--color-white);
@ -51,5 +54,6 @@
.icon {
margin-right: var(--spacing-m);
min-width: 1rem;
}
}