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.

css: Fix the alignment of time output example in the ? menu

KrishnaYad210c130d9090
diff --git a/web/styles/rendered_markdown.css b/web/styles/rendered_markdown.css
index 64bfd57dc7a..3c233156cc0 100644
--- a/web/styles/rendered_markdown.css
+++ b/web/styles/rendered_markdown.css
@@ -1046,3 +1046,11 @@
padding-left: 0.3em;
}
}
+
+/* This is required to align the time-example output in the "?" menu. */
+#markdown-instructions p:has(time) {
+ display: flex;
+ align-items: center;
+ margin: calc(var(--markdown-interelement-space-px) / 2) 0;
+ padding: calc(var(--message-box-link-focus-ring-block-padding) / 2) 0;
+}