- attempt at responsiveness fix

- bring back scrollbars
- update dependencies
This commit is contained in:
Amruth Pillai
2020-07-16 19:53:14 +05:30
parent 0019fee34e
commit 0b70d7ebec
14 changed files with 431 additions and 297 deletions

View File

@ -2,11 +2,21 @@
.container {
width: 210mm;
height: 297mm;
zoom: 0.8;
-moz-transform: scale(0.8);
transform-origin: 50% 18%;
overflow-y: scroll;
zoom: 0.5;
overflow: scroll;
box-shadow: var(--shadow);
@apply bg-white rounded;
@apply my-16 rounded;
}
}
@media screen and (min-width: 1366px) {
.container {
zoom: 0.65;
}
}
@media screen and (min-width: 1440px) {
.container {
zoom: 0.8;
}
}

View File

@ -1,12 +1,6 @@
.container {
z-index: 10;
box-shadow: var(--left-shadow);
-ms-overflow-style: none;
scrollbar-width: none;
@apply w-full h-screen overflow-scroll p-8;
@apply grid gap-8;
}
.container::-webkit-scrollbar {
display: none;
}
}

View File

@ -1,12 +1,7 @@
.container {
z-index: 10;
box-shadow: var(--right-shadow);
-ms-overflow-style: none;
scrollbar-width: none;
@apply w-full h-screen overflow-scroll p-8;
@apply grid gap-8;
}
.container::-webkit-scrollbar {
display: none;
}

View File

@ -89,7 +89,7 @@ const Templates = ({ name }) => {
alt={x.name}
loading="eager"
className="w-full"
style={{ height: '225px' }}
style={{ height: '230px' }}
fluid={previews[x.id].childImageSharp.fluid}
/>
<span>{x.name}</span>