Commit f505a8c8 authored by kushalpandya's avatar kushalpandya

Make banner use flexbox in all screen sizes

parent 2d09c930
...@@ -17,6 +17,10 @@ ...@@ -17,6 +17,10 @@
/* Trial Banner */ /* Trial Banner */
.gitlab-ee-trial-banner.alert { .gitlab-ee-trial-banner.alert {
display: flex;
align-content: center;
justify-content: center;
padding: 10px 35px;
position: fixed; position: fixed;
top: 0; top: 0;
width: 100%; width: 100%;
...@@ -44,17 +48,10 @@ ...@@ -44,17 +48,10 @@
} }
} }
@media (max-width: $screen-xs-max) { .close {
display: flex; position: absolute;
align-content: center; top: 15%;
justify-content: center; right: 10px;
padding: 10px 35px;
.close {
position: absolute;
top: 15px;
right: 5px;
}
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment