summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/layout.scss
diff options
context:
space:
mode:
authorJan Provaznik <jprovaznik@gitlab.com>2018-09-07 14:32:28 +0000
committerDouwe Maan <douwe@gitlab.com>2018-09-07 14:32:28 +0000
commita415a904b8b03543dfdfab4667336b603b45eb28 (patch)
tree7cca179d7f884fc54afeccb2285469dbbcef3a53 /app/assets/stylesheets/framework/layout.scss
parent1f765ce9ea25b45cd702c25ccb762eacceb9a4ae (diff)
downloadgitlab-ce-a415a904b8b03543dfdfab4667336b603b45eb28.tar.gz
Ask user explicitly about usage stats agreement
Diffstat (limited to 'app/assets/stylesheets/framework/layout.scss')
-rw-r--r--app/assets/stylesheets/framework/layout.scss19
1 files changed, 15 insertions, 4 deletions
diff --git a/app/assets/stylesheets/framework/layout.scss b/app/assets/stylesheets/framework/layout.scss
index d4bae4cb137..9218df9b40f 100644
--- a/app/assets/stylesheets/framework/layout.scss
+++ b/app/assets/stylesheets/framework/layout.scss
@@ -69,10 +69,14 @@ body {
float: right;
}
- /* Center alert text and alert action links on smaller screens */
- @include media-breakpoint-down(sm) {
- .alert {
- text-align: center;
+ .flex-alert {
+ @include media-breakpoint-up(lg) {
+ display: flex;
+
+ .alert-message {
+ flex: 1;
+ padding-right: 40px;
+ }
}
.alert-link-group {
@@ -80,6 +84,13 @@ body {
}
}
+ @include media-breakpoint-down(sm) {
+ .alert-link-group {
+ float: none;
+ margin-top: $gl-padding-8;
+ }
+ }
+
/* Stripe the background colors so that adjacent alert-warnings are distinct from one another */
.alert-warning {
transition: background-color 0.15s, border-color 0.15s;