diff options
author | Wu Cheng-Han | 2015-07-02 00:10:20 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2015-07-02 00:10:20 +0800 |
commit | 10c9811fc534a2738c19d8f74a447ed500b730a2 (patch) | |
tree | 8e46f99f36660d9c011d135fc6ce736733a5876b /public/css/index.css | |
parent | f7f8c901f4bc39c3ed0a2bdfe1cbaa1ee6957999 (diff) |
Jump to 0.3.1
Diffstat (limited to '')
-rw-r--r-- | public/css/index.css | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/public/css/index.css b/public/css/index.css index f1f303ed..e1d5745f 100644 --- a/public/css/index.css +++ b/public/css/index.css @@ -177,11 +177,11 @@ div[contenteditable]:empty:not(:focus):before{ content:attr(data-ph); color: gray; } -.dropdown-menu { +.dropdown-menu.list { max-height: 80vh; overflow: auto; } -.dropdown-menu::-webkit-scrollbar { +.dropdown-menu.list::-webkit-scrollbar { display: none; } .dropdown-menu .emoji { @@ -201,6 +201,26 @@ div[contenteditable]:empty:not(:focus):before{ user-select: none; } +.btn-file { + position: relative; + overflow: hidden; +} +.btn-file input[type=file] { + position: absolute; + top: 0; + right: 0; + min-width: 100%; + min-height: 100%; + font-size: 100px; + text-align: right; + filter: alpha(opacity=0); + opacity: 0; + outline: none; + background: white; + cursor: inherit; + display: block; +} + .cm-trailing-space-a:before, .cm-trailing-space-b:before, .cm-trailing-space-new-line:before { |