git ssb

10+

Matt McKegg / patchwork



Commit ec3412056518c9636a6ccb93a425c2ced52313fe

Added linear-gradient mask to channel links in active channels list

Same lineary-gradient style used in Who to Follow list. This fixes a bug
where channel names would overflow outside their box if font size was to
large.

Signed-off-by: Matthew Roseman <mroseman95@gmail.com>
Matthew Roseman committed on 3/29/2018, 7:09:57 PM
Parent: 2c1d0cf136eebaf75b5ea4529e97607fb647d17e

Files changed

styles/dark/channel-list.mcsschanged
styles/light/channel-list.mcsschanged
styles/dark/channel-list.mcssView
@@ -53,8 +53,9 @@
5353 span.name {
5454 flex: 1
5555 white-space: nowrap;
5656 min-width: 0;
57+ -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,1) 90%, rgba(0,0,0,0));
5758 }
5859
5960 a {
6061 display: inline
styles/light/channel-list.mcssView
@@ -44,8 +44,9 @@
4444 span.name {
4545 flex: 1
4646 white-space: nowrap;
4747 min-width: 0;
48+ -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,1) 90%, rgba(0,0,0,0));
4849 }
4950
5051 a {
5152 display: inline

Built with git-ssb-web