Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
user_card_popover: Scope related css inside a common class.
Sayam Samal97f84b4aae90
diff --git a/web/styles/popovers.css b/web/styles/popovers.cssindex 7c208781423..209d7df8719 100644--- a/web/styles/popovers.css+++ b/web/styles/popovers.css@@ -124,45 +124,47 @@white-space: nowrap;}-.custom-profile-field-value {- display: flex;- align-items: center;- gap: 5px;- text-overflow: ellipsis;- overflow: hidden;- white-space: nowrap;-}--.custom-profile-field-value.rendered_markdown p {- text-overflow: ellipsis;- overflow: hidden;- white-space: nowrap;- /* Overriding CSS from rendered_markdown.css */- margin: 0;-}--.custom-profile-field-link {- color: var(--color-text-item);-- &:hover {- color: var(--color-text-link);- text-decoration: none;- }-- &:focus-visible {- color: var(--color-text-url-hover);- outline: 1px solid var(--color-outline-focus) !important;- outline-offset: 2px;- border-radius: 2px;+.user-card-popover-actions {+ .custom-profile-field-value {+ display: flex;+ align-items: center;+ gap: 5px;+ text-overflow: ellipsis;+ overflow: hidden;+ white-space: nowrap;}- .custom-profile-field-text {+ .custom-profile-field-value.rendered_markdown p {text-overflow: ellipsis;overflow: hidden;white-space: nowrap;+ /* Overriding CSS from rendered_markdown.css */+ margin: 0;+ }++ .custom-profile-field-link {+ color: var(--color-text-item);&:hover {- text-decoration: underline;+ color: var(--color-text-link);+ text-decoration: none;+ }++ &:focus-visible {+ color: var(--color-text-url-hover);+ outline: 1px solid var(--color-outline-focus) !important;+ outline-offset: 2px;+ border-radius: 2px;+ }++ .custom-profile-field-text {+ text-overflow: ellipsis;+ overflow: hidden;+ white-space: nowrap;++ &:hover {+ text-decoration: underline;+ }}}}