Merge pull request #22 from navedqb/4968--fix-disabled-zoom-issue

fix: fix image preview close on disabled zoom button click
pull/4976/head
navedqb 2023-12-18 11:41:26 +05:30 committed by GitHub
commit 0c37fe43b8
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;