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.

popovers: Increase popover width to fit avatar inside it.

Sahil Batraada0fcf29972
diff --git a/web/styles/popovers.css b/web/styles/popovers.css
index 2feed9ed692..069419edebf 100644
--- a/web/styles/popovers.css
+++ b/web/styles/popovers.css
@@ -323,7 +323,8 @@ ul {
from the right sidebar; otherwise, it will have the
user-card-popover-root class instead. */
.user-sidebar-popover-root {
- width: 240px;
+ /* 240px (width of avatar) + 2px (1px for each border) */
+ width: 242px;
margin: -14px;
padding: 0;
@@ -341,7 +342,8 @@ ul {
.group-info-popover,
.message-user-card-popover-root,
.user-card-popover-root {
- width: 240px;
+ /* 240px (width of avatar) + 2px (1px for each border) */
+ width: 242px;
padding: 0;
}