Skip to content

Commit

Permalink
Merge pull request #29121 from getusha/fix-cursor-inconsistency
Browse files Browse the repository at this point in the history
Fix: Cursor is not consistent on input in help page
  • Loading branch information
jasperhuangg authored Oct 11, 2023
2 parents cb883e8 + 092527a commit d79ee78
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions docs/_sass/_search-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,14 @@ $color-gray-label: $color-gray-label;
/* All gsc id & class are Google Search relate gcse_0 is the search bar parent & gcse_1 is the search result list parent */
#___gcse_0 {
margin-left: 20px;
margin-top: -8px;
}

/* This input is in #___gcse_0 search bar */
input#gsc-i-id1.gsc-input {
background-color: $color-appBG;
padding: 15px 0px 0px !important;
pointer-events: auto;
color: #E7ECE9;
font-family: "ExpensifyNeue", "Segoe UI Emoji", "Noto Color Emoji" !important;
}
Expand All @@ -102,23 +105,29 @@ input#gsc-i-id1.gsc-input {
background-color: $color-appBG;
border-bottom: $color-borders 2px solid;
border-bottom-left-radius: 0px;

pointer-events: none;

&:focus-within {
border-bottom: $color-accent 2px solid;
}
}

.gsc-input-box .gsib_a {
padding: 5px 9px 4px 0px;
padding: 0px 0px 4px 0px;
}

.search-icon {
margin-left: auto;
}

.gsst_b, .gsst_a {
padding: 0px !important;
}
/* This is the close icon on search bar */
.gsib_b .gsst_a .gscb_a {
color: $color-icons;
padding: 8px 6px 0px 6px !important;
pointer-events: auto;

&:hover {
color: $color-text;
Expand Down Expand Up @@ -148,6 +157,7 @@ label.search-label {
font-family: "ExpensifyNeue", "Segoe UI Emoji", "Noto Color Emoji";
transform: translateY(-50%);
left: 20px;
pointer-events: none;
color: $color-gray-label;
transform-origin: left top;
user-select: none;
Expand Down Expand Up @@ -181,7 +191,6 @@ label.search-label {
/* Change the Google Search Button icon into Expensify icon button */
.gsc-search-button.gsc-search-button-v2 {
padding: 10px;
margin-top: -7px;
margin-left: 15px;
margin-right: 20px;
border-radius: 25px;
Expand Down

0 comments on commit d79ee78

Please sign in to comment.