From 42d684329fbd1b139b253d448e444349e891d775 Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Thu, 12 Jan 2017 17:13:52 +0800 Subject: Workaround text shadow for font antialias might cause cut off in Edge --- public/css/site.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/css') diff --git a/public/css/site.css b/public/css/site.css index 3685149b..d88f8429 100644 --- a/public/css/site.css +++ b/public/css/site.css @@ -3,7 +3,7 @@ body { font-smoothing: subpixel-antialiased !important; -webkit-font-smoothing: subpixel-antialiased !important; -moz-osx-font-smoothing: auto !important; - text-shadow: 1px 1px 1.2px rgba(0, 0, 0, 0.004); + text-shadow: 0 0 1em transparent, 1px 1px 1.2px rgba(0, 0, 0, 0.004); /*text-rendering: optimizeLegibility;*/ -webkit-overflow-scrolling: touch; font-family: "Source Sans Pro", Helvetica, Arial, sans-serif; -- cgit v1.2.3 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(+) (limited to 'public/css') 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