Skip to content

Commit

Permalink
dark_theme_css: Fix border color for tables in message/chat.
Browse files Browse the repository at this point in the history
Add a css rule in dark_theme.css for tables inside message/chat.
This rule sets a brighter color for these type of tables so that
it's more visible when the user is using dark theme.

Fixes #29856
  • Loading branch information
PieterCK committed Apr 29, 2024
1 parent 5c0cccc commit cbcba11
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions web/styles/dark_theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -799,6 +799,17 @@
border-color: hsl(0deg 0% 0% / 20%);
}

/* This sets a brighter color for tables inside
messages when using dark mode. */
.message_content.rendered_markdown table,
.message_content.rendered_markdown table th,
.message_content.rendered_markdown table td,
.preview_content.rendered_markdown table,
.preview_content.rendered_markdown table th,
.preview_content.rendered_markdown table td {
border-color: hsl(0deg 0% 100% / 50%);
}

.overlay-message-row
.message_header_private_message
.message_label_clickable {
Expand Down

0 comments on commit cbcba11

Please sign in to comment.