Skip to content

A platform for community discussion. Free, open, simple.

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

Joe23a493682658
diff --git a/app/assets/stylesheets/common/base/alert.scss b/app/assets/stylesheets/common/base/alert.scss
index 6f61bb11a05..c5b8923c9cd 100644
--- a/app/assets/stylesheets/common/base/alert.scss
+++ b/app/assets/stylesheets/common/base/alert.scss
@@ -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;