UX: TMP fix (CSS revert) until translations are ready for flex

This commit is contained in:
Joe 2019-12-31 10:43:16 +08:00 committed by GitHub
parent e32bf19cd3
commit 23a4936826
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 10 deletions

View File

@ -3,25 +3,18 @@
background-color: $danger-low;
color: $primary;
position: relative;
display: flex;
.close {
font-size: $font-up-3;
align-self: flex-start;
margin-left: auto;
position: absolute;
top: 8px;
right: 8px;
.d-icon {
color: $primary-low-mid;
}
}
.text {
flex: 1 1 auto;
& + .close {
margin-left: 0.5em;
}
}
&.alert-success {
background-color: $success-low;