diff options
Diffstat (limited to 'public/css/index.css')
-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 { |