From 99b7bdd176fa684d45a6033cef856ee0a12f8e34 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Mon, 1 Nov 2021 01:38:40 -0400 Subject: [PATCH] chat: Set timestamp CSS `font-size: smaller;` --- src/static/css/pad/chat.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/static/css/pad/chat.css b/src/static/css/pad/chat.css index 9e0a17dac..bfda0109a 100644 --- a/src/static/css/pad/chat.css +++ b/src/static/css/pad/chat.css @@ -98,7 +98,12 @@ #chattext .time { float: right; font-style: italic; - font-size: .85rem; + /* + * 'smaller' is relative to the parent element, so if the parent has its own + * 'font-size: smaller' rule then the timestamp will become even smaller (as + * desired). + */ + font-size: smaller; opacity: .8; margin-left: 3px; margin-right: 2px;