提交 7745078a 编写于 作者: M Max McMahon

Fix Select2 heights

上级 4c0f3d0b
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
border: 1px solid $gray-x-light; border: 1px solid $gray-x-light;
//border-radius: $input-radius; //border-radius: $input-radius;
padding: 6px 12px; padding: 6px 12px;
height: 34px; height: $input-height;
} }
} }
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
height: auto; height: auto;
margin-top: -4px; margin-top: -3px;
} }
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered { .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
...@@ -52,8 +52,8 @@ ...@@ -52,8 +52,8 @@
} }
.select2-container--default .select2-selection--single .select2-selection__arrow { .select2-container--default .select2-selection--single .select2-selection__arrow {
height: 28px; height: 31px;
right: 3px; right: 6px;
} }
.select2-container--default .select2-selection--single .select2-selection__arrow b { .select2-container--default .select2-selection--single .select2-selection__arrow b {
...@@ -86,6 +86,7 @@ ...@@ -86,6 +86,7 @@
//Multiple select //Multiple select
.select2-container--default { .select2-container--default {
.select2-selection--multiple { .select2-selection--multiple {
min-height: $input-height;
border: 1px solid $gray-x-light; border: 1px solid $gray-x-light;
//border-radius: $input-radius; //border-radius: $input-radius;
&:focus { &:focus {
...@@ -108,7 +109,7 @@ ...@@ -108,7 +109,7 @@
.select2-container--default .select2-selection--multiple .select2-selection__choice { .select2-container--default .select2-selection--multiple .select2-selection__choice {
background-color: theme-color("primary"); background-color: theme-color("primary");
border-color: darken(theme-color("primary"), 5%); border-color: darken(theme-color("primary"), 5%);
padding: 1px 10px; padding: 0 10px;
color: $white; color: $white;
} }
......
...@@ -18770,7 +18770,7 @@ html.maximized-card { ...@@ -18770,7 +18770,7 @@ html.maximized-card {
.select2-selection .select2-selection--single { .select2-selection .select2-selection--single {
border: 1px solid #d2d6de; border: 1px solid #d2d6de;
padding: 6px 12px; padding: 6px 12px;
height: 34px; height: calc(2.25rem + 2px);
} }
.select2-container--default.select2-container--open { .select2-container--default.select2-container--open {
...@@ -18798,7 +18798,7 @@ html.maximized-card { ...@@ -18798,7 +18798,7 @@ html.maximized-card {
padding-left: 0; padding-left: 0;
padding-right: 0; padding-right: 0;
height: auto; height: auto;
margin-top: -4px; margin-top: -3px;
} }
.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered { .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered {
...@@ -18807,8 +18807,8 @@ html.maximized-card { ...@@ -18807,8 +18807,8 @@ html.maximized-card {
} }
.select2-container--default .select2-selection--single .select2-selection__arrow { .select2-container--default .select2-selection--single .select2-selection__arrow {
height: 28px; height: 31px;
right: 3px; right: 6px;
} }
.select2-container--default .select2-selection--single .select2-selection__arrow b { .select2-container--default .select2-selection--single .select2-selection__arrow b {
...@@ -18839,6 +18839,7 @@ html.maximized-card { ...@@ -18839,6 +18839,7 @@ html.maximized-card {
} }
.select2-container--default .select2-selection--multiple { .select2-container--default .select2-selection--multiple {
min-height: calc(2.25rem + 2px);
border: 1px solid #d2d6de; border: 1px solid #d2d6de;
} }
...@@ -18861,7 +18862,7 @@ html.maximized-card { ...@@ -18861,7 +18862,7 @@ html.maximized-card {
.select2-container--default .select2-selection--multiple .select2-selection__choice { .select2-container--default .select2-selection--multiple .select2-selection__choice {
background-color: #007bff; background-color: #007bff;
border-color: #006fe6; border-color: #006fe6;
padding: 1px 10px; padding: 0 10px;
color: #ffffff; color: #ffffff;
} }
......
此差异已折叠。
此差异已折叠。
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册