about summary refs log tree commit diff
path: root/app/javascript/styles
diff options
context:
space:
mode:
authorPaweł Ngei <github@alxd.org>2018-12-05 05:08:43 +0100
committerEugen Rochko <eugen@zeonfederated.com>2018-12-05 05:08:43 +0100
commit9897cf0701d1fb588f9b0defcbd78d0a2095230a (patch)
tree98f555051b39ea84771f859ad6c4da619b8672c7 /app/javascript/styles
parente88c6a5c3c188731f7784141b8835c410163cbeb (diff)
Add visible dates for notifications in Notification column (#9423)
* add RelativeTimestamp elements

* style the elements properly with CSS
Diffstat (limited to 'app/javascript/styles')
-rw-r--r--app/javascript/styles/mastodon/components.scss7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/javascript/styles/mastodon/components.scss b/app/javascript/styles/mastodon/components.scss
index 5765829a4..b2e9bd1df 100644
--- a/app/javascript/styles/mastodon/components.scss
+++ b/app/javascript/styles/mastodon/components.scss
@@ -1489,6 +1489,7 @@ a.account__display-name {
   cursor: default;
   color: $darker-text-color;
   font-size: 15px;
+  line-height: 22px;
   position: relative;
 
   .fa {
@@ -1496,7 +1497,7 @@ a.account__display-name {
   }
 
   > span {
-    display: block;
+    display: inline;
     overflow: hidden;
     text-overflow: ellipsis;
   }
@@ -1526,6 +1527,10 @@ a.account__display-name {
   }
 }
 
+.notification__relative_time {
+  float: right;
+}
+
 .display-name {
   display: block;
   max-width: 100%;