From: Jeremy Thomas Date: Sun, 7 Oct 2018 15:58:42 +0000 (+0200) Subject: Fix #1904 and #1969 X-Git-Tag: 0.7.2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a05832bd995b16fd205ba8532df1d7292fd23006;p=thirdparty%2Fbulma.git Fix #1904 and #1969 --- diff --git a/CHANGELOG.md b/CHANGELOG.md index a20024bca..365071c58 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ * Fix #1991 The last button in list of full-width buttons has longer width * #1982 Fix navbar-burger color when color modifier is used * #1819 Fix #1137 error message for required file +* Fix #1904 and #1969: hide native file input in Chrome ## 0.7.1 diff --git a/docs/css/bulma-docs.css b/docs/css/bulma-docs.css index e9abdc79a..1ac857dc5 100644 --- a/docs/css/bulma-docs.css +++ b/docs/css/bulma-docs.css @@ -3856,6 +3856,7 @@ a.box:active { .file-input { height: 100%; left: 0; + opacity: 0; outline: none; position: absolute; top: 0; diff --git a/sass/elements/form.sass b/sass/elements/form.sass index f1faca03c..9d717cf78 100644 --- a/sass/elements/form.sass +++ b/sass/elements/form.sass @@ -356,6 +356,7 @@ $help-size: $size-small !default .file-input height: 100% left: 0 + opacity: 0 outline: none position: absolute top: 0