Skip to content

Commit

Permalink
Fix Copyable more button color
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeRx committed Oct 3, 2024
1 parent 874f704 commit db28850
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions ui/components/app/snaps/copyable/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
transition: background-color background 0.2s;

& .show-more__button {
background: linear-gradient(90deg, transparent 0%, var(--color-background-primary-muted) 33%);
background: linear-gradient(90deg, transparent 0%, var(--color-primary-muted) 33%);
}

&:hover {
background-color: var(--color-primary-muted);
color: var(--color-primary-default) !important;

& .show-more__button {
background: linear-gradient(90deg, transparent 0%, var(--color-background-primary-muted) 33%);
background: linear-gradient(90deg, transparent 0%, var(--color-primary-muted) 33%);
}

p,
Expand All @@ -31,14 +31,14 @@
opacity: 0.75;

& .show-more__button {
background: linear-gradient(90deg, transparent 0%, var(--color-background-primary-muted) 33%);
background: linear-gradient(90deg, transparent 0%, var(--color-primary-muted) 33%);
}

&:hover {
background-color: var(--color-primary-muted);

& .show-more__button {
background: linear-gradient(90deg, transparent 0%, var(--color-background-primary-muted) 33%);
background: linear-gradient(90deg, transparent 0%, var(--color-primary-muted) 33%);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion ui/components/app/snaps/show-more/show-more.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const ShowMore = ({ children, className = '', ...props }) => {
bottom: 0,
right: 0,
// Avoids see-through with muted colors
background: `linear-gradient(90deg, transparent 0%, var(--color-${BackgroundColor.backgroundDefault}) 33%)`,
background: `linear-gradient(90deg, transparent 0%, var(--color-${BackgroundColor.backgroundAlternative}) 33%)`,
}}
>
<Button
Expand Down

0 comments on commit db28850

Please sign in to comment.