refactor: Remove redundant max-width and max-height properties from preview zoom elements.
This commit is contained in:
@@ -23,8 +23,6 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
max-width: 99vw;
|
||||
max-height: 99vh;
|
||||
z-index: 3000000;
|
||||
--preview-padding: 1.5vmin;
|
||||
}
|
||||
@@ -32,13 +30,9 @@
|
||||
.preview-zoom__stage--pdf {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-width: 99vw;
|
||||
max-height: 99vh;
|
||||
}
|
||||
|
||||
.preview-zoom__image {
|
||||
max-width: 99vw;
|
||||
max-height: 99vh;
|
||||
width: auto;
|
||||
height: auto;
|
||||
box-shadow: 0 32px 120px var(--shadow-deep);
|
||||
@@ -48,15 +42,11 @@
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
max-width: 99vw;
|
||||
max-height: 99vh;
|
||||
}
|
||||
|
||||
.preview-zoom__scroll--pdf {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-width: 99vw;
|
||||
max-height: 99vh;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
overflow: auto;
|
||||
|
||||
Reference in New Issue
Block a user