Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorShohei Yoshida <ysds.code@gmail.com>2019-05-09 20:40:40 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-05-09 20:40:40 +0300
commit06635be7bd4e1d469a25e48a0a36c4427f7d7fe9 (patch)
tree315c504512b0b819f52afdee7fd1c56b398f1326 /scss
parenta5d7dff16497085f0060623469dbc95f985cf249 (diff)
Reset input padding for cross browser consistency (#28208)
Diffstat (limited to 'scss')
-rw-r--r--scss/_forms.scss3
1 files changed, 1 insertions, 2 deletions
diff --git a/scss/_forms.scss b/scss/_forms.scss
index 43d4110cd2..1d8a547d3d 100644
--- a/scss/_forms.scss
+++ b/scss/_forms.scss
@@ -110,8 +110,7 @@ select.form-control {
.form-control-plaintext {
display: block;
width: 100%;
- padding-top: $input-padding-y;
- padding-bottom: $input-padding-y;
+ padding: $input-padding-y 0;
margin-bottom: 0; // match inputs if this class comes on inputs with default margins
@include font-size($input-font-size);
line-height: $input-line-height;