Skip to content

Commit

Permalink
fix(datatable): add padding so search clear button doesn't obstruct t…
Browse files Browse the repository at this point in the history
…ext (#5145)
  • Loading branch information
tw15egan authored and asudoh committed Jan 27, 2020
1 parent f03a0a1 commit c39173f
Showing 1 changed file with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@
}
}

.#{$prefix}--toolbar-search-container-expandable
.#{$prefix}--search
.#{$prefix}--search-close:focus::before {
background-color: $focus;
}

//-------------------------------------------------
//ACTIVE SEARCH - DEFAULT TOOLBAR
//-------------------------------------------------
Expand All @@ -141,7 +147,7 @@
.#{$prefix}--toolbar-search-container-active
.#{$prefix}--search
.#{$prefix}--search-input {
padding-left: $spacing-09;
padding: 0 $spacing-09;
visibility: inherit;
}

Expand Down Expand Up @@ -197,6 +203,11 @@
background-color: transparent;
}

.#{$prefix}--toolbar-search-container-persistent
.#{$prefix}--search-close::before {
display: none;
}

//-------------------------------------------------
//TOOLBAR BUTTONS
//-------------------------------------------------
Expand Down Expand Up @@ -296,7 +307,7 @@
.#{$prefix}--search
.#{$prefix}--search-input {
height: $layout-04;
padding-left: $spacing-09;
padding: 0 $spacing-09;
border: none;
}

Expand Down Expand Up @@ -513,7 +524,7 @@
.#{$prefix}--toolbar-search-container-expandable
.#{$prefix}--search
.#{$prefix}--search-input {
padding-left: $spacing-xl;
padding: 0 $spacing-09;
}

//active
Expand Down

0 comments on commit c39173f

Please sign in to comment.