fix select2 input height

pull/2992/head
Vadim Costin 10 years ago
parent 9cdc969b1c
commit 81dc0d273b
  1. 11
      app/assets/stylesheets/content/_select2.scss

@ -80,12 +80,6 @@
text-overflow: ellipsis; text-overflow: ellipsis;
} }
/* Fix search input in IE8 - input was to high */
.select2-search input {
min-height: 0\9;
}
.controller-work_packages.action-index .select2-drop:not(.project-search-results) .select2-results .select2-result-selectable { .controller-work_packages.action-index .select2-drop:not(.project-search-results) .select2-results .select2-result-selectable {
color: #000; color: #000;
} }
@ -122,6 +116,7 @@ $se2-theme-selectable-color: #f8f8f8;
$se2-theme-selectable-color-highlighted: $drop-down-selected-bg-color; $se2-theme-selectable-color-highlighted: $drop-down-selected-bg-color;
$se2-element-height: 33px; $se2-element-height: 33px;
$se2-input-height: 34px;
$se2-line-height: 30px; $se2-line-height: 30px;
$se2-button-width: 28px; $se2-button-width: 28px;
$se2-arrow-button-width: 18px; $se2-arrow-button-width: 18px;
@ -200,3 +195,7 @@ $se2-width: 100%;
} }
} }
} }
.select2-input {
height: rem-calc($se2-input-height) !important;
}

Loading…
Cancel
Save