mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-18 11:21:23 +02:00
Merge pull request #14886 from twbs/customizer-clearfix
Customizer: add clearfixes to rows and simplify .bs-customizer-input to .col-xs-4
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -8,8 +8,10 @@ each section in sections
|
|||||||
if subsection.heading
|
if subsection.heading
|
||||||
h3(id=subsection.id)= subsection.heading
|
h3(id=subsection.id)= subsection.heading
|
||||||
div.row
|
div.row
|
||||||
each variable in subsection.variables
|
each variable, index in subsection.variables
|
||||||
div.bs-customizer-input
|
if index > 0 && index % 3 === 0
|
||||||
|
div.clearfix
|
||||||
|
div.col-xs-4
|
||||||
label(for="input-" + variable.name)= variable.name
|
label(for="input-" + variable.name)= variable.name
|
||||||
input.form-control(
|
input.form-control(
|
||||||
id="input-" + variable.name
|
id="input-" + variable.name
|
||||||
|
@@ -1342,13 +1342,6 @@ h1[id] {
|
|||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bs-customizer-input {
|
|
||||||
float: left;
|
|
||||||
width: 33.333333%;
|
|
||||||
padding-right: 15px;
|
|
||||||
padding-left: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Downloads */
|
/* Downloads */
|
||||||
.bs-customize-download .btn-outline {
|
.bs-customize-download .btn-outline {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
|
Reference in New Issue
Block a user