disable banner gradient once it is clicked

This commit is contained in:
hippoz 2021-06-10 23:16:53 +03:00
parent 033d0e4da1
commit f7bd8d82f3
Signed by: hippoz
GPG key ID: 7C52899193467641
2 changed files with 2 additions and 1 deletions

View file

@ -60,7 +60,7 @@ const ChannelView = ({ channels, messages, channel, selectedChannelId, experimen
</button>}
</div>
{(gradientBannerNotificationText !== undefined) && <div className="gradient-banner-card">
{(gradientBannerNotificationText !== undefined) && <div className="gradient-banner-card" onClick={ () => dispatch({ type: "application/updatebannertext", text: undefined }) }>
{ gradientBannerNotificationText }
</div>}

View file

@ -78,4 +78,5 @@
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
cursor: default;
}