diff options
author | Yukai Huang | 2017-01-15 11:33:22 +0800 |
---|---|---|
committer | Yukai Huang | 2017-01-15 11:33:22 +0800 |
commit | c0e8306961a47e7a2ba52d0445c12aaa5fe07949 (patch) | |
tree | cec2451fd8afa80210d966d51dcba875bf3a6ffd /public/css | |
parent | 0f833f099f61b93e76a5f32175580fc2c0b9dc1a (diff) | |
parent | 3d6b31921651e71ef68fdc88af4ddef50cc9bcb3 (diff) |
Merge branch 'frontend-next' into t216-refactor-common
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; |