0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-31 03:09:19 -05:00
penpot/frontend/resources/styles/main/partials/viewer.scss
2022-01-10 16:02:36 +01:00

48 lines
769 B
SCSS

.viewer-content {
background-color: black;
display: grid;
grid-template-rows: 232px auto;
grid-template-columns: 1fr;
}
.viewer-section {
height: calc(100vh - 48px);
grid-row: 1 / span 2;
grid-column: 1 / span 1;
display: flex;
justify-content: center;
align-items: center;
flex-flow: wrap;
overflow: auto;
& .viewer-wrapper {
position: relative;
}
& .viewer-clipper {
display: grid;
grid-template-rows: 1fr;
grid-template-columns: 1fr;
justify-items: center;
align-items: center;
overflow: hidden;
.empty-state {
justify-content: center;
align-items: center;
}
svg {
transform-origin: center;
}
}
}
.viewport-container {
grid-column: 1 / 1;
grid-row: 1 / 1;
}