fix input width bug

This commit is contained in:
doubaniux 2020-07-03 16:16:26 +08:00
parent 9df7591a88
commit a0c2a8b0e2
5 changed files with 20 additions and 6 deletions

View file

@ -144,10 +144,6 @@ textarea {
width: 100%;
}
input, select {
width: 100%;
}
label,
legend {
display: block;
@ -1073,6 +1069,11 @@ select::placeholder {
.main-section-wrapper {
padding: 32px 48px 32px 36px;
background-color: #f7f7f7;
overflow: auto;
}
.main-section-wrapper input, .main-section-wrapper select {
width: 100%;
}
.entity-list .entity-list__title {
@ -1525,6 +1526,7 @@ select::placeholder {
padding: 28px 25px 12px 25px;
background-color: #f7f7f7;
margin-bottom: 30px;
overflow: auto;
}
.aside-section-wrapper--transparent {
@ -1896,6 +1898,10 @@ select::placeholder {
overflow: auto;
}
.single-section-wrapper input, .single-section-wrapper select {
width: 100%;
}
.entity-form, .review-form {
overflow: auto;
}

View file

@ -10,6 +10,7 @@ $aside-section-padding-mobile: 24px 25px 10px 25px
padding: $aside-section-padding
background-color: $color-bright
margin-bottom: 30px
overflow: auto
&--transparent
background-color: unset

View file

@ -15,8 +15,8 @@ textarea
min-height: 6.5rem
width: 100%
input, select
width: 100%
// input, select
// width: 100%
label,
legend

View file

@ -9,6 +9,10 @@ $sub-section-title-margin: 8px
.main-section-wrapper
padding: $main-section-padding
background-color: $color-bright
overflow: auto
& input, & select
width: 100%
// for search result etc
.entity-list

View file

@ -5,6 +5,9 @@ $single-section-padding-mobile: 32px 28px
padding: $single-section-padding
background-color: $color-bright
overflow: auto
& input, & select
width: 100%
.entity-form, .review-form
overflow: auto