Skip to content

Commit

Permalink
Use style instead of hard coded color for nested button to apply them…
Browse files Browse the repository at this point in the history
…e properly
  • Loading branch information
luc-github committed Jun 17, 2024
1 parent 06c7ed9 commit 62c6dcc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Controls/Fields/Input.js
Original file line number Diff line number Diff line change
Expand Up @@ -294,10 +294,10 @@ const Input = ({
onInput={onInput}
/>
<ButtonImg
class="input-group-btn"
class="input-group-btn nested-button"
ltooltip
data-tooltip={T("S40")}
icon={<Search color="blue" />}
icon={<Search />}
onClick={(e) => {
useUiContextFn.haptic()
e.target.blur()
Expand Down
5 changes: 5 additions & 0 deletions src/style/components/_control.scss
Original file line number Diff line number Diff line change
Expand Up @@ -558,3 +558,8 @@ a label {
color: #fff;
border: 0;
}

.nested-button {
color:blue!important;
background-color: #f1f1fc;
}

0 comments on commit 62c6dcc

Please sign in to comment.