Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message_edit: Show message source in full opacity.
N-Shar-ma09be97c58460
diff --git a/web/styles/message_row.css b/web/styles/message_row.cssindex d2b462a3939..f49473c2807 100644--- a/web/styles/message_row.css+++ b/web/styles/message_row.css@@ -589,10 +589,15 @@&:read-only,&:disabled {cursor: not-allowed;- background-color: hsl(0deg 0% 93%);}}+/* The selector needs to be written this way to override the specificity+of the base style defined for a read-only textarea in dark mode. */+.message_edit_form .edit-controls textarea.message_edit_content:read-only {+ opacity: 1;+}+.message_edit_countdown_timer {text-align: right;display: inline;diff --git a/web/styles/zulip.css b/web/styles/zulip.cssindex 8508fadd873..872df84debc 100644--- a/web/styles/zulip.css+++ b/web/styles/zulip.css@@ -641,10 +641,6 @@ li,its own border and background color */border: none;background-clip: content-box;- /* The z-index here ensures that the copy-message- icon is clickable and is needed because of reduced- opacity of readonly textarea */- z-index: 2;&:hover svg path {fill: var(--color-fill-hover-copy-icon);