From 9897cf0701d1fb588f9b0defcbd78d0a2095230a Mon Sep 17 00:00:00 2001 From: Paweł Ngei Date: Wed, 5 Dec 2018 05:08:43 +0100 Subject: Add visible dates for notifications in Notification column (#9423) * add RelativeTimestamp elements * style the elements properly with CSS --- app/javascript/styles/mastodon/components.scss | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'app/javascript/styles') 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%; -- cgit