PL-7851 Optimize DOM of WebPickerField

This commit is contained in:
Yuriy Artamonov 2016-10-18 19:41:29 +04:00
parent 764b2d7abf
commit 2cb69fb79b
2 changed files with 7 additions and 5 deletions

View File

@ -58,9 +58,11 @@
.v-button.#{$primary-stylename}-button { .v-button.#{$primary-stylename}-button {
display: table-cell !important; display: table-cell !important;
text-align: center !important; text-align: center !important;
vertical-align: middle;
padding: 0; padding: 0;
width: $v-unit-size; width: $v-unit-size;
min-width: $v-unit-size; min-width: $v-unit-size;
height: 100%;
border: valo-border($v-textfield-border, border: valo-border($v-textfield-border,
darkest-color($v-textfield-background-color, $v-app-background-color)); darkest-color($v-textfield-background-color, $v-app-background-color));
@ -99,6 +101,8 @@
left: 0; left: 0;
bottom: 0; bottom: 0;
right: 0; right: 0;
height: $v-unit-size;
} }
&:before { &:before {
@ -116,10 +120,6 @@
} }
} }
.v-button-wrap {
vertical-align: middle;
}
.v-button-caption { .v-button-caption {
display: none; display: none;
} }

View File

@ -49,9 +49,11 @@
border: 1px solid $cuba-field-border-color; border: 1px solid $cuba-field-border-color;
background: #fff; background: #fff;
border-left: 0; border-left: 0;
height: 25px; height: 100%;
vertical-align: middle;
line-height: 18px; line-height: 18px;
min-width: 24px; min-width: 24px;
width: 24px;
.v-button-wrap { .v-button-wrap {
display: inline-block; display: inline-block;