summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClement Ho <clemmakesapps@gmail.com>2018-06-01 21:58:00 +0000
committerClement Ho <clemmakesapps@gmail.com>2018-06-01 21:58:00 +0000
commiteb1324dbb7f6cda34d902cd5ead2841bc3c674c9 (patch)
treed09efceb6b26a09c739e615258e9f54497f0bfe3
parentf8bd8f4f062e518ab855a83f38965df51ec3b073 (diff)
downloadgitlab-ce-eb1324dbb7f6cda34d902cd5ead2841bc3c674c9.tar.gz
Fix bootstrap 4 file inputs
-rw-r--r--app/assets/stylesheets/bootstrap_migration.scss6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/assets/stylesheets/bootstrap_migration.scss b/app/assets/stylesheets/bootstrap_migration.scss
index d8e57834f9e..e24f8b1d4e8 100644
--- a/app/assets/stylesheets/bootstrap_migration.scss
+++ b/app/assets/stylesheets/bootstrap_migration.scss
@@ -36,6 +36,12 @@ html [type="button"],
cursor: pointer;
}
+input[type="file"] {
+ // Bootstrap 4 file input height is taller by default
+ // which makes them look ugly
+ line-height: 1;
+}
+
b,
strong {
font-weight: bold;