git ssb

10+

Matt McKegg / patchwork



Commit 3e3b75a1c3f76fe6cb7dc5136996b8d33c65b6dd

Merge pull request #757 from mroseman95/channel-list-mask

Added linear-gradient mask to channel links in active channels list
Matt McKegg authored on 4/4/2018, 12:38:41 AM
GitHub committed on 4/4/2018, 12:38:41 AM
Parent: 9de99ae493db260032c0423eedf4a3aa6f5d714f
Parent: a3ab3b76cc78d93d9ba66ebcc7a1d2ae0ec274da

Files changed

styles/dark/all-channels.mcsschanged
styles/dark/channel-list.mcsschanged
styles/light/all-channels.mcsschanged
styles/light/channel-list.mcsschanged
styles/dark/all-channels.mcssView
@@ -1,9 +1,9 @@
11 AllChannels {
22 display: flex;
33 flex-wrap: wrap;
44 justify-content: center;
5- overflow-y: auto
5+ overflow: auto
66 padding: 10px;
77
88 a.channel {
99 display: flex;
@@ -59,8 +59,10 @@
5959 span.name {
6060 flex: 1
6161 white-space: nowrap;
6262 min-width: 0;
63+ overflow: hidden;
64+ text-overflow: ellipsis;
6365 }
6466
6567 a {
6668 display: inline
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/all-channels.mcssView
@@ -1,9 +1,9 @@
11 AllChannels {
22 display: flex;
33 flex-wrap: wrap;
44 justify-content: center;
5- overflow-y: auto
5+ overflow: auto
66 padding: 10px;
77
88 a.channel {
99 display: flex;
@@ -47,8 +47,10 @@
4747 span.name {
4848 flex: 1
4949 white-space: nowrap;
5050 min-width: 0;
51+ overflow: hidden;
52+ text-overflow: ellipsis;
5153 }
5254
5355 a {
5456 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