Skip to content

Commit

Permalink
Fixed ajaxsearch vertical alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
vovayatsyuk committed May 29, 2019
1 parent 48a8c7a commit 529e3ac
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
8 changes: 8 additions & 0 deletions web/css/source/_absolute.less
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ a:hover {
bottom: -45px;
.input-text {
.lib-css(border-radius, @header-search__border-radius);
.lib-css(height, @header-search__height);
border-width: 0px;
&:focus {
box-shadow: none;
Expand All @@ -188,6 +189,13 @@ a:hover {
.select2-container--default .select2-selection--single {
border-color: #fff;
.lib-css(border-radius, @header-search__border-radius 0 0 @header-search__border-radius);
.lib-css(height, @header-search__height);
.select2-selection__arrow {
.lib-css(height, @header-search__height);
}
.select2-selection__rendered {
.lib-css(line-height, @header-search__height);
}
}
.select2-dropdown {
.lib-css(border-radius, @header-search__border-radius);
Expand Down
1 change: 1 addition & 0 deletions web/css/source/lib/variables/_absolute.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
@transition-time__l: 0.5s;
@transition-time__xl: 1s;

@header-search__height: 32px;
@header-search__border-radius: 5px;
@header-search__box-shadow: 0 0 10px rgba(0,0,0,0.15);

Expand Down

0 comments on commit 529e3ac

Please sign in to comment.