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
No known key found for this signature in database
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>} </button>}
</div> </div>
{(gradientBannerNotificationText !== undefined) && <div className="gradient-banner-card"> {(gradientBannerNotificationText !== undefined) && <div className="gradient-banner-card" onClick={ () => dispatch({ type: "application/updatebannertext", text: undefined }) }>
{ gradientBannerNotificationText } { gradientBannerNotificationText }
</div>} </div>}

View file

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