From 481f7c6a3d5ae4ab96dad026e4e15a8574759722 Mon Sep 17 00:00:00 2001 From: Martijn Cuppens Date: Thu, 12 Mar 2020 22:02:31 +0100 Subject: [PATCH] Use `display: block;` for form elements --- scss/forms/_form-file.scss | 3 --- scss/forms/_form-select.scss | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/scss/forms/_form-file.scss b/scss/forms/_form-file.scss index 39d3448af2..500591cab4 100644 --- a/scss/forms/_form-file.scss +++ b/scss/forms/_form-file.scss @@ -1,9 +1,6 @@ .form-file { position: relative; - display: inline-block; - width: 100%; height: $form-file-height; - margin-bottom: 0; } .form-file-input { diff --git a/scss/forms/_form-select.scss b/scss/forms/_form-select.scss index cd4c1d699d..fa32068810 100644 --- a/scss/forms/_form-select.scss +++ b/scss/forms/_form-select.scss @@ -4,7 +4,7 @@ // https://primer.github.io/. .form-select { - display: inline-block; + display: block; width: 100%; height: $form-select-height; padding: $form-select-padding-y ($form-select-padding-x + $form-select-indicator-padding) $form-select-padding-y $form-select-padding-x;