Fixed #4554 - Image: preview mode button spacing fixes
parent
6b097a40d7
commit
0993710ff6
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue