Fixed #4554 - Image: preview mode button spacing fixes

pull/4570/head
Tuğçe Küçükoğlu 2023-10-05 10:11:35 +03:00
parent 6b097a40d7
commit 0993710ff6
1 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,7 @@ const css = `
.p-image-preview-container { .p-image-preview-container {
position: relative; position: relative;
display: inline-block; display: inline-block;
line-height: 0;
} }
.p-image-preview-indicator { .p-image-preview-indicator {
@ -24,6 +25,8 @@ const css = `
justify-content: center; justify-content: center;
opacity: 0; opacity: 0;
transition: opacity 0.3s; transition: opacity 0.3s;
border: none;
padding: 0;
} }
.p-image-preview-container:hover > .p-image-preview-indicator { .p-image-preview-container:hover > .p-image-preview-indicator {