summaryrefslogtreecommitdiff
path: root/client/css
diff options
context:
space:
mode:
authorMichael Serajnik <ms@mserajnik.at>2017-12-18 19:41:53 +0100
committerrr- <rr-@sakuya.pl>2018-03-10 17:45:37 +0100
commit23a28ce69cbc3d1ae4e36009ec60790b5f8a048c (patch)
tree7c8a8ca191357fd2e59e64d207f6c0a8e79fba6e /client/css
parenta962bb351acd3116e203bad34bb117973c608c8b (diff)
client/css: make tab navigations scrollable on smaller screens
Diffstat (limited to 'client/css')
-rw-r--r--client/css/core-general.styl11
1 files changed, 11 insertions, 0 deletions
diff --git a/client/css/core-general.styl b/client/css/core-general.styl
index 02f4516..33499fa 100644
--- a/client/css/core-general.styl
+++ b/client/css/core-general.styl
@@ -76,6 +76,17 @@ form .fa-question-circle-o
margin: 0 auto
>*:first-child, form h1
margin-top: 0
+ nav.buttons
+ ul
+ display: block
+ max-width: 100%
+ white-space: nowrap
+ overflow-x: auto
+ &::-webkit-scrollbar
+ height: 6px
+ background-color: $scrollbar-bg-color
+ &::-webkit-scrollbar-thumb
+ background-color: $scrollbar-thumb-color
>.content-wrapper:not(.transparent)
background: $top-navigation-color
padding: 1.8em