Skip to content

Commit

Permalink
fix: not possible to click on a safe in listItem (#3373)
Browse files Browse the repository at this point in the history
Since the .listItem had a padding, the <a> tag inside of it was only clickable if you manage to hit it directly. But ListItem actually looks like a clickable button, so you won’t expect that you have to be clicking directly in the center.
  • Loading branch information
compojoom authored Mar 1, 2024
1 parent cfe57db commit bec4d5e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/welcome/MyAccounts/styles.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
border: 1px solid var(--color-border-light);
border-radius: var(--space-1);
margin-bottom: 12px;
padding-top: var(--space-2);
padding-bottom: var(--space-2);
padding-top: 0;
padding-bottom: 0;
padding-left: 0;
}

.currentListItem {
padding-left: var(--space-2);
border: 1px solid var(--color-secondary-light);
border-left-width: 6px;
background-color: var(--color-secondary-background) !important;
Expand All @@ -51,7 +51,7 @@
.safeLink {
display: flex;
align-items: center;
padding-right: var(--space-1);
padding: var(--space-2) var(--space-1) var(--space-2) var(--space-2);
}

.safeAddress {
Expand Down

0 comments on commit bec4d5e

Please sign in to comment.