diff options
| author | shpuld <shp@cock.li> | 2017-11-13 19:23:43 +0200 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2017-11-13 19:23:43 +0200 |
| commit | a169abcec25a85e0104cd00ef0db10939ef5d6fc (patch) | |
| tree | c3fadfdd942480afa1d1eec48059935b944e3d58 /src/components/notifications/notifications.js | |
| parent | e19a617de1c2b3102291d885be5d08bf9388ccbc (diff) | |
Give tall notifications either a scrollbar (mentions), or just cap them and use a cool hider (fav/rt).
Diffstat (limited to 'src/components/notifications/notifications.js')
| -rw-r--r-- | src/components/notifications/notifications.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/notifications/notifications.js b/src/components/notifications/notifications.js index c0c86c68..5f0d7f26 100644 --- a/src/components/notifications/notifications.js +++ b/src/components/notifications/notifications.js @@ -23,6 +23,11 @@ const Notifications = { }, unseenCount () { return this.unseenNotifications.length + }, + hiderStyle () { + return { + background: `linear-gradient(to bottom, rgba(0, 0, 0, 0), ${this.$store.state.config.colors['base00']} 80%)` + } } }, components: { |
