summaryrefslogtreecommitdiff
path: root/public/css
diff options
context:
space:
mode:
authorWu Cheng-Han2017-01-13 00:03:29 +0800
committerWu Cheng-Han2017-01-13 00:03:29 +0800
commit86f0b10775ec85fa3ee0d5c64a814ab34e17f3d6 (patch)
tree3f44e8207cd0a6d710ad121604c5f7790137770d /public/css
parent6be875263a3c0ee849b023983032d8f55e28a2e0 (diff)
Fix permission dropdown text might out of range in smaller screen
Diffstat (limited to 'public/css')
-rw-r--r--public/css/index.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/public/css/index.css b/public/css/index.css
index da1823f2..8f483aa7 100644
--- a/public/css/index.css
+++ b/public/css/index.css
@@ -240,6 +240,9 @@ body {
}
.dropdown-menu > li > a {
cursor: pointer;
+ text-overflow: ellipsis;
+ max-width: calc(100vw - 30px);
+ overflow: hidden;
}
.dropdown-menu.CodeMirror-other-cursor {
transition: none;