mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05: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:
commit
de62dcaf53
3 changed files with 477 additions and 382 deletions
File diff suppressed because it is too large
Load diff
|
@ -8,8 +8,10 @@ each section in sections
|
|||
if subsection.heading
|
||||
h3(id=subsection.id)= subsection.heading
|
||||
div.row
|
||||
each variable in subsection.variables
|
||||
div.bs-customizer-input
|
||||
each variable, index in subsection.variables
|
||||
if index > 0 && index % 3 === 0
|
||||
div.clearfix
|
||||
div.col-xs-4
|
||||
label(for="input-" + variable.name)= variable.name
|
||||
input.form-control(
|
||||
id="input-" + variable.name
|
||||
|
|
|
@ -1342,13 +1342,6 @@ h1[id] {
|
|||
font-weight: normal;
|
||||
}
|
||||
|
||||
.bs-customizer-input {
|
||||
float: left;
|
||||
width: 33.333333%;
|
||||
padding-right: 15px;
|
||||
padding-left: 15px;
|
||||
}
|
||||
|
||||
/* Downloads */
|
||||
.bs-customize-download .btn-outline {
|
||||
padding: 20px;
|
||||
|
|
Loading…
Add table
Reference in a new issue