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.

print: Ensure crisp edit/timestamp text.

Karl Stolleyd3dcc8895d44
diff --git a/web/styles/print.css b/web/styles/print.css
index daf10c13ee6..8a7fdac5a43 100644
--- a/web/styles/print.css
+++ b/web/styles/print.css
@@ -40,6 +40,17 @@
outline: 0;
}
+ .messagebox-content {
+ .message_edit_notice,
+ .message_time {
+ /* Firefox seems to have a bug that fuzzes out
+ small text with opacity; this unsets that
+ value, and replaces with a matching gray. */
+ opacity: unset;
+ color: hsl(0deg 0% 0% / 48%);
+ }
+ }
+
/* Show collapsed content for printing. Note that
CSS Grid does not yet break very intelligently
in all browsers, so longer messages may sometimes