From 0993710ff6c69706d1514aab3ebbc620f908308e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=C4=9F=C3=A7e=20K=C3=BC=C3=A7=C3=BCko=C4=9Flu?= Date: Thu, 5 Oct 2023 10:11:35 +0300 Subject: [PATCH] Fixed #4554 - Image: preview mode button spacing fixes --- components/lib/image/style/ImageStyle.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/lib/image/style/ImageStyle.js b/components/lib/image/style/ImageStyle.js index 8723dcb89..93259be8f 100644 --- a/components/lib/image/style/ImageStyle.js +++ b/components/lib/image/style/ImageStyle.js @@ -11,6 +11,7 @@ const css = ` .p-image-preview-container { position: relative; display: inline-block; + line-height: 0; } .p-image-preview-indicator { @@ -24,6 +25,8 @@ const css = ` justify-content: center; opacity: 0; transition: opacity 0.3s; + border: none; + padding: 0; } .p-image-preview-container:hover > .p-image-preview-indicator {