Skip to content

Commit

Permalink
fix: account button hide balance on small device views (#1669)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomiir committed Dec 27, 2023
1 parent 13b71a0 commit 48f5085
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions packages/ui/src/composites/wui-account-button/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,24 @@ export default css`
box-shadow: 0 0 0 2px var(--wui-accent-glass-010);
}
@media (max-width: 500px) {
button {
gap: 0px;
}
wui-image,
wui-icon-box,
button > wui-text {
visibility: hidden;
width: 0px;
height: 0px;
}
button > wui-flex {
border-radius: 0px;
border: none;
background: transparent;
}
}
@media (hover: hover) and (pointer: fine) {
button:hover:enabled > wui-flex > wui-text {
color: var(--wui-color-fg-175);
Expand Down

3 comments on commit 48f5085

@vercel
Copy link

@vercel vercel bot commented on 48f5085 Dec 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 48f5085 Dec 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 48f5085 Dec 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.