0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-06 22:38:13 -05:00
penpot/frontend/resources/styles/main/partials/viewer.scss

51 lines
807 B
SCSS
Raw Normal View History

2020-04-02 17:08:24 +02:00
.viewer-content {
background-color: black;
display: grid;
grid-template-rows: 232px auto;
grid-template-columns: 1fr;
}
2021-11-02 15:19:11 +01:00
.viewer-section {
2021-11-02 11:08:44 +01:00
height: calc(100vh - 48px);
&.fullscreen{
height: 100vh;
}
2020-04-02 17:08:24 +02:00
grid-row: 1 / span 2;
grid-column: 1 / span 1;
display: flex;
justify-content: center;
align-items: center;
flex-flow: wrap;
2021-10-29 10:43:53 +02:00
overflow: auto;
& .viewer-wrapper {
2022-01-10 14:40:12 +01:00
position: relative;
}
& .viewer-clipper {
2021-10-29 10:43:53 +02:00
display: grid;
grid-template-rows: 1fr;
grid-template-columns: 1fr;
justify-items: center;
align-items: center;
2022-01-10 14:40:12 +01:00
overflow: hidden;
2021-10-29 10:43:53 +02:00
.empty-state {
justify-content: center;
align-items: center;
}
2021-10-29 10:43:53 +02:00
svg {
transform-origin: center;
}
}
2020-04-02 17:08:24 +02:00
}
2021-10-29 10:43:53 +02:00
.viewport-container {
grid-column: 1 / 1;
grid-row: 1 / 1;
}