From 86f0b10775ec85fa3ee0d5c64a814ab34e17f3d6 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Fri, 13 Jan 2017 00:03:29 +0800 Subject: Fix permission dropdown text might out of range in smaller screen --- public/css/index.css | 3 +++ 1 file changed, 3 insertions(+) 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; -- cgit v1.2.3