Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
unread_marker: Handle offset entirely through CSS variables.
Karl Stolley1695b8c240c3
diff --git a/web/styles/app_variables.css b/web/styles/app_variables.cssindex 7b6bf37a898..42cc938d81d 100644--- a/web/styles/app_variables.css+++ b/web/styles/app_variables.css@@ -494,6 +494,12 @@}%dark-theme {+ /* There is no lefthand border to cover in dark mode, so+ don't apply negative margin that would otherwise pull+ the unread marker to the left. */+ --unread-marker-left: 0;++ /* Colors used across the app */--color-date: hsl(0deg 0% 100% / 75%);--color-background-private-message-header: hsl(46deg 15% 20%);--color-background-private-message-content: hsl(46deg 7% 16%);diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.cssindex f766ca3604b..f864a89a6fb 100644--- a/web/styles/dark_theme.css+++ b/web/styles/dark_theme.css@@ -804,14 +804,6 @@text-shadow: none;}- /* There is no lefthand border to cover in- dark mode, so don't apply negative margin- that would otherwise pull the unread marker- to the left. */- .unread_marker {- margin-left: 0;- }-.selected_message .messagebox-content {border-color: hsl(217deg 64% 59% / 70%);}