Fix permission dropdown text might out of range in smaller screen

This commit is contained in:
Wu Cheng-Han 2017-01-13 00:03:29 +08:00
parent 6be875263a
commit 86f0b10775

View file

@ -240,6 +240,9 @@ body {
} }
.dropdown-menu > li > a { .dropdown-menu > li > a {
cursor: pointer; cursor: pointer;
text-overflow: ellipsis;
max-width: calc(100vw - 30px);
overflow: hidden;
} }
.dropdown-menu.CodeMirror-other-cursor { .dropdown-menu.CodeMirror-other-cursor {
transition: none; transition: none;