Merge pull request #4976 from qburst/4968--fix-disabled-zoom-issue

fix: fix image preview close on disabled zoom button click
pull/4987/head
Tuğçe Küçükoğlu 2023-12-20 14:45:45 +03:00 committed by GitHub
commit 6d40283801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,10 @@ const css = `
align-items: center;
}
.p-image-action.p-disabled {
pointer-events: auto;
}
.p-image-preview {
transition: transform 0.15s;
max-width: 100vw;