From 761ca16d6de7cd7eb35ef6a899cc1be1dc6fe782 Mon Sep 17 00:00:00 2001 From: Akarsh Jain <72064462+akarsh-jain-790@users.noreply.github.com> Date: Wed, 7 Dec 2022 05:45:55 +0530 Subject: [PATCH] css: Add min-width to user presence dot. (#23526) Previously user presence dot in the right sidebar becomes narrower when there is unread counter, and as such, this commit adds a min-width to the user presence dot. Fixes: #23519 --- static/styles/recent_topics.css | 2 +- static/styles/right_sidebar.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/static/styles/recent_topics.css b/static/styles/recent_topics.css index ecb67965f5..860ea9b61a 100644 --- a/static/styles/recent_topics.css +++ b/static/styles/recent_topics.css @@ -420,7 +420,7 @@ .user_circle { /* Shrink the user activity circle for the recent topics context. */ - width: 7px; + min-width: 7px; height: 7px; float: left; position: unset; diff --git a/static/styles/right_sidebar.css b/static/styles/right_sidebar.css index d2eb9ace98..50f6032342 100644 --- a/static/styles/right_sidebar.css +++ b/static/styles/right_sidebar.css @@ -77,7 +77,7 @@ $user_status_emoji_width: 24px; } .user_circle { - width: 8px; + min-width: 8px; height: 8px; margin: 0 5px; display: block;