summaryrefslogtreecommitdiff
path: root/app/assets/stylesheets/framework/nav.scss
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/stylesheets/framework/nav.scss')
-rw-r--r--app/assets/stylesheets/framework/nav.scss32
1 files changed, 27 insertions, 5 deletions
diff --git a/app/assets/stylesheets/framework/nav.scss b/app/assets/stylesheets/framework/nav.scss
index 40b24e96fa3..2ada2b9f2f2 100644
--- a/app/assets/stylesheets/framework/nav.scss
+++ b/app/assets/stylesheets/framework/nav.scss
@@ -198,13 +198,35 @@
.dropdown {
margin-left: 7px;
}
- }
- .nav-links {
- border-bottom: none;
+ @media (max-width: $screen-md-max) {
+ float: none;
+ margin-bottom: 10px;
- a {
- padding-top: 2px;
+ .btn {
+ width: 20%;
+ }
}
+
+ @media (max-width: $screen-xs-max) {
+ text-align: center;
+
+ .rss-btn,
+ .dropdown-new {
+ display: inline-block;
+ width: 48%;
+ }
+ }
+ }
+}
+
+.nav-links {
+ border-bottom: none;
+ white-space: nowrap;
+ overflow-x: auto;
+ overflow-y: hidden;
+
+ a {
+ padding-top: 2px;
}
}