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.

audio_player: Improve vertical alignment.

Karl Stolley32da008335b3
diff --git a/web/styles/rendered_markdown.css b/web/styles/rendered_markdown.css
index 6946dcb7dd9..13fd3cc8f68 100644
--- a/web/styles/rendered_markdown.css
+++ b/web/styles/rendered_markdown.css
@@ -676,6 +676,10 @@
display: grid;
}
+ .media-audio-element {
+ vertical-align: middle;
+ }
+
.message_embed {
display: grid;
grid-template-columns:
@@ -866,11 +870,6 @@
border: 1px solid var(--color-copy-button-square-bg-active);
backdrop-filter: blur(20px);
}
-
- p:first-child > .media-audio-element:first-child {
- /* TODO: This is probably not the best way create space here. */
- padding-top: 0.5em;
- }
}
.group_mention,