]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add overflow suppression to custom file label (#32160)
authorPatrick H. Lauke <redux@splintered.co.uk>
Thu, 19 Nov 2020 14:29:57 +0000 (14:29 +0000)
committerGitHub <noreply@github.com>
Thu, 19 Nov 2020 14:29:57 +0000 (16:29 +0200)
Avoids unsightly spilling out of long filename text, particularly for multi file inputs

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
scss/_custom-forms.scss

index 0d68435324d76342cb6be5f028210f13cf55dc6b..4afc0808763332626b97b5189c431606ff1d7d3c 100644 (file)
   z-index: 1;
   height: $custom-file-height;
   padding: $custom-file-padding-y $custom-file-padding-x;
+  overflow: hidden;
   font-family: $custom-file-font-family;
   font-weight: $custom-file-font-weight;
   line-height: $custom-file-line-height;