Page MenuHomePhabricator

[web] Fix unread sidebar title styling in `SidebarItem`
ClosedPublic

Authored by atul on Mar 7 2022, 4:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 11, 1:35 AM
Unknown Object (File)
Fri, Nov 8, 10:39 PM
Unknown Object (File)
Fri, Nov 8, 10:39 PM
Unknown Object (File)
Sat, Nov 2, 8:55 AM
Unknown Object (File)
Sat, Nov 2, 8:55 AM
Unknown Object (File)
Sat, Nov 2, 8:55 AM
Unknown Object (File)
Sat, Nov 2, 8:53 AM
Unknown Object (File)
Oct 7 2024, 6:50 AM

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul requested review of this revision.Mar 7 2022, 5:01 PM
tomek added inline comments.
web/chat/chat-thread-list.css
135–137 ↗(On Diff #10123)

I'd probably just use div.unread, so that it's more maintainable. Currently, we're assigning css.unread to unreadCls but this has any effect only when css.sidebarTitle is also present.

This revision is now accepted and ready to land.Mar 8 2022, 8:10 AM
web/chat/chat-thread-list.css
135–137 ↗(On Diff #10123)

Yeah there's some issues with specificity that made this weirdly challenging the way things are set up.

I'm going to land as-is to unblock deploy. But, cleaning this up is the first thing I'm going to do after landing these diffs.

Whenever you defer doing something that a reviewer has asked you to do, you should always create a Linear task to track!