Skip to content

Commit

Permalink
fix(suite): anchor auto-scrolling to hightligted element was broken b…
Browse files Browse the repository at this point in the history
…y this in Chromium
  • Loading branch information
peter-sanderson committed May 8, 2024
1 parent c86fe60 commit a34f8fe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/components/src/components/Card/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const CardContainer = styled.div<
padding: ${mapPaddingTypeToPadding};
background: ${mapElevationToBackground};
border-radius: ${borders.radii.md};
overflow: auto;
${({ $isClickable, theme }) =>
$isClickable &&
`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,10 @@ export const TriggerHighlight = () => {
<ActionButton
variant="secondary"
onClick={() =>
dispatch(
goto('settings-index', { anchor: SettingsAnchor.BitcoinAmountUnit }),
)
dispatch(goto('settings-index', { anchor: SettingsAnchor.Labeling }))
}
>
Go to Bitcoin Unit Settings
Go to Labeling
</ActionButton>
</ActionColumn>
</SectionItem>
Expand Down

0 comments on commit a34f8fe

Please sign in to comment.