feat: style topbar unread dropdown rows
This commit is contained in:
@@ -172,10 +172,23 @@ $wg-topbar-panel-bg: rgba(21, 17, 26, 0.98);
|
|||||||
|
|
||||||
.wg-topbar .notifications-dropdown,
|
.wg-topbar .notifications-dropdown,
|
||||||
.wg-topbar .chats-dropdown,
|
.wg-topbar .chats-dropdown,
|
||||||
.wg-topbar .drafts-dropdown {
|
.wg-topbar .drafts-dropdown,
|
||||||
|
.wg-topbar .unread-dropdown {
|
||||||
width: min(24rem, calc(100vw - 1.5rem));
|
width: min(24rem, calc(100vw - 1.5rem));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.wg-topbar .wg-unread-item {
|
||||||
|
display: flex;
|
||||||
|
align-items: baseline;
|
||||||
|
gap: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.wg-topbar .wg-unread-item__category {
|
||||||
|
margin-left: auto;
|
||||||
|
flex-shrink: 0;
|
||||||
|
opacity: 0.7;
|
||||||
|
}
|
||||||
|
|
||||||
.wg-topbar .dropdown-item,
|
.wg-topbar .dropdown-item,
|
||||||
.wg-topbar .btn.btn-ghost,
|
.wg-topbar .btn.btn-ghost,
|
||||||
.wg-topbar .btn.btn-light {
|
.wg-topbar .btn.btn-light {
|
||||||
|
|||||||
@@ -174,3 +174,9 @@ assertMatches(
|
|||||||
/href="\{relative_path\}\/unread"[^>]*>[\s\S]*?component="unread\/count"/,
|
/href="\{relative_path\}\/unread"[^>]*>[\s\S]*?component="unread\/count"/,
|
||||||
'Mobile drawer actions should include an Unread link with count badge'
|
'Mobile drawer actions should include an Unread link with count badge'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
assertIncludes(
|
||||||
|
stylesheet,
|
||||||
|
'.unread-dropdown',
|
||||||
|
'Topbar styles should cover the unread dropdown'
|
||||||
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user