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.

message_edit_history: Apply highlight colors to links.

Aman Agrawalc516e7fccfa2
diff --git a/web/styles/message_edit_history.css b/web/styles/message_edit_history.css
index cf37a9dab0f..1972564863d 100644
--- a/web/styles/message_edit_history.css
+++ b/web/styles/message_edit_history.css
@@ -67,3 +67,20 @@
align-items: center;
}
}
+
+#message-history-overlay
+ .message-edit-history-container
+ .message_edit_history_content {
+ /* We need to use different color for links to distinguish
+ them from normal text and have enough contrast so that they
+ are visible clearly. */
+ .highlight_text_inserted,
+ .highlight_text_deleted {
+ > a {
+ color: light-dark(
+ var(--color-markdown-link),
+ hsl(200.27deg 100% 85.49%)
+ );
+ }
+ }
+}