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.

gifs: Fix outline overflow for focused GIFs.

apoorvapendse248535a0c887
diff --git a/web/styles/popovers.css b/web/styles/popovers.css
index c0956cf7cf7..e2e3701c805 100644
--- a/web/styles/popovers.css
+++ b/web/styles/popovers.css
@@ -705,9 +705,9 @@ ul.popover-group-menu-member-list {
.gif-grid-in-popover {
/* 300px of GIF grid + 5px is the extra gutter space
- * + 1px for outline.
+ * + 1px for outline + 4px padding.
* between gif columns. */
- width: 306px;
+ width: 310px;
border: 0;
padding: 0;
@@ -742,6 +742,13 @@ ul.popover-group-menu-member-list {
gap: 6px;
}
+ /* Meant to prevent outline overflow when the GIF
+ is focused. */
+ .tenor-content,
+ .giphy-content {
+ padding: 0 2px;
+ }
+
.giphy-gif,
.tenor-gif {
cursor: pointer;