Skip to content

Commit

Permalink
Merge pull request #482 from lidofinance/feature/we-1341-mobile-layou…
Browse files Browse the repository at this point in the history
…t-animation-of-the-background-change-button

fix: fixed highlight for buttons on android
  • Loading branch information
molok0aleks99 authored Aug 22, 2024
2 parents bfc98a9 + 67c3594 commit b164563
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/button/ButtonStyles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ export const ButtonStyle = styled.button<InjectedProps>`
font-family: inherit;
font-weight: 700;
width: ${({ $fullwidth }) => ($fullwidth ? ' 100%' : 'auto')};
-webkit-tap-highlight-color: transparent;
::before {
content: '';
Expand Down
1 change: 1 addition & 0 deletions packages/button/__snapshots__/Button.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ exports[`renders correctly 1`] = `
font-family: inherit;
font-weight: 700;
width: auto;
-webkit-tap-highlight-color: transparent;
line-height: 1em;
font-size: 14px;
border-radius: 10px;
Expand Down

0 comments on commit b164563

Please sign in to comment.