diff options
author | Yukai Huang | 2017-01-13 22:53:33 +0800 |
---|---|---|
committer | Yukai Huang | 2017-01-13 22:53:33 +0800 |
commit | 3d6b31921651e71ef68fdc88af4ddef50cc9bcb3 (patch) | |
tree | 8ba3e2a5e57a5d54be071475a96b20f78957eff2 /public/css | |
parent | 3566d71aea5486709f73ba7fac5a421993b41f00 (diff) | |
parent | 3cf40a8dec96af3710a5945dde693fdc949f31af (diff) |
Merge branch 'master' into frontend-next
Diffstat (limited to 'public/css')
-rw-r--r-- | public/css/index.css | 3 | ||||
-rw-r--r-- | public/css/site.css | 2 |
2 files changed, 4 insertions, 1 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; 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; |