Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

rendered_markdown: Lay out time spans with inline-flex.

Karl Stolley6b8fc6de36a3
diff --git a/web/styles/rendered_markdown.css b/web/styles/rendered_markdown.css
index 08b195ae8ba..aa0b82b0f0e 100644
--- a/web/styles/rendered_markdown.css
+++ b/web/styles/rendered_markdown.css
@@ -215,15 +215,19 @@
/* Timestamps */
& time {
+ display: inline-flex;
+ align-items: baseline;
+ gap: 3px;
background: hsl(0deg 0% 93%);
border-radius: 3px;
padding: 0 0.2em;
box-shadow: 0 0 0 1px hsl(0deg 0% 80%);
white-space: nowrap;
- margin-left: 2px;
- margin-right: 2px;
- display: inline-block;
- margin-bottom: 1px;
+ margin: 0 2px 1px;
+
+ .fa-clock-o {
+ align-self: center;
+ }
}
/* LaTeX styling */