Skip to content

Commit 8a2f283

Browse files
authored
Merge pull request #4270 from narekcat/hot-fix-x-button-to-clear-search
Fix a bug due to which the 'x' button overlapped with the text.
2 parents 243f0d0 + ec6a29e commit 8a2f283

File tree

1 file changed

+3
-2
lines changed
  • src/shared/components/challenge-listing/Filters/ChallengeSearchBar

1 file changed

+3
-2
lines changed

src/shared/components/challenge-listing/Filters/ChallengeSearchBar/style.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ $search-input-width: '100% - 56px';
4444
margin-bottom: 0;
4545
margin-left: 10px;
4646
vertical-align: middle;
47+
padding-right: 28px;
4748

4849
@include placeholder {
4950
@include roboto-light;
@@ -83,11 +84,11 @@ $search-input-width: '100% - 56px';
8384
display: none;
8485
cursor: pointer;
8586
position: absolute;
86-
right: $challenge-space-60 - 4;
87+
right: $challenge-space-60 - 3;
8788
padding: $base-unit;
8889
border-radius: 0 $challenge-radius-4 $challenge-radius-4 0;
8990
vertical-align: middle;
90-
height: 40px;
91+
height: 38px;
9192
font-size: 25px;
9293

9394
&.active {

0 commit comments

Comments
 (0)