Skip to content

Commit b4e63b1

Browse files
committed
Use solid secondary background for avatar follow badge hover
1 parent 2f4a628 commit b4e63b1

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
### [Unreleased]
22

3+
* Use the solid secondary background for the avatar follow badge hover
34
* Cap dropdown menus to the viewport height and make them scrollable on short or zoomed screens
45
* Add z-index to status display name so the avatar follow badge stays clickable
56
* Drop trends to 2 items on screen heights below 830px (4 items fit above that)

src/components/_follow-button.scss

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,3 +42,10 @@
4242
transform: translateY(-4px);
4343
}
4444
}
45+
46+
// The avatar follow badge hover uses --color-bg-secondary in core, which is
47+
// near transparent in Bird UI; use the solid secondary background instead
48+
.avatar-follow-badge:hover,
49+
.avatar-follow-badge:focus {
50+
background: var(--color-bg-secondary-solid);
51+
}

0 commit comments

Comments
 (0)