aboutsummaryrefslogtreecommitdiff
path: root/src/components/notifications/notifications.scss
diff options
context:
space:
mode:
authorlambda <pleromagit@rogerbraun.net>2017-11-13 18:17:50 +0000
committerlambda <pleromagit@rogerbraun.net>2017-11-13 18:17:50 +0000
commit55c481808477fdbc4c56edf22e27336b5e27d3fb (patch)
treea6d3f9dae93c58ba26a8a5c02c61e1fbd59da228 /src/components/notifications/notifications.scss
parent024b9ca724c90f8ab9ed573a553349e4002b7b95 (diff)
parenta169abcec25a85e0104cd00ef0db10939ef5d6fc (diff)
Merge branch 'fix/scrollbar-for-taller-posts' into 'develop'
Better handling of taller posts Closes #40 See merge request pleroma/pleroma-fe!158
Diffstat (limited to 'src/components/notifications/notifications.scss')
-rw-r--r--src/components/notifications/notifications.scss20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/components/notifications/notifications.scss b/src/components/notifications/notifications.scss
index 84dd36fa..db7b0843 100644
--- a/src/components/notifications/notifications.scss
+++ b/src/components/notifications/notifications.scss
@@ -44,6 +44,8 @@
min-width: 0px;
word-wrap: break-word;
line-height:18px;
+ position: relative;
+ overflow: hidden;
.icon-retweet.lit {
color: $green;
@@ -57,6 +59,11 @@
color: $blue;
}
+ .status-content {
+ margin: 0;
+ max-height: 300px;
+ }
+
h1 {
word-break: break-all;
margin: 0 0 0.3em;
@@ -89,6 +96,19 @@
}
}
+ .notification-content {
+ max-height: 12em;
+ overflow-y: hidden;
+ //text-overflow: ellipsis;
+ }
+
+ .notification-gradient {
+ position: absolute;
+ width: 100%;
+ height: 4em;
+ margin-top:8em;
+ }
+
.unseen {
border-left: 4px solid rgba(255, 16, 8, 0.75);
padding-left: 6px;