improve touchscreen scrolling on carousel and make mobile page wider
All checks were successful
publish.yml / publish (push) Successful in 1m3s
All checks were successful
publish.yml / publish (push) Successful in 1m3s
This commit is contained in:
@@ -151,14 +151,14 @@
|
|||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.content {
|
.content {
|
||||||
padding-top: calc(6.5rem + env(safe-area-inset-top));
|
padding: calc(6.5rem + env(safe-area-inset-top)) 0.5rem 3rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sidebar {
|
.sidebar {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0.75rem;
|
top: 0.75rem;
|
||||||
right: 0.75rem;
|
right: 0.5rem;
|
||||||
left: 0.75rem;
|
left: 0.5rem;
|
||||||
transform: none;
|
transform: none;
|
||||||
width: auto;
|
width: auto;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|||||||
@@ -209,7 +209,7 @@ h2 {
|
|||||||
@media (max-width: 760px) {
|
@media (max-width: 760px) {
|
||||||
.stack-carousel-shell {
|
.stack-carousel-shell {
|
||||||
--carousel-nav-space: 0;
|
--carousel-nav-space: 0;
|
||||||
--carousel-edge-fade-size: 1rem;
|
--carousel-edge-fade-size: 0.6rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin-inline: 0;
|
margin-inline: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -161,7 +161,7 @@ h2 {
|
|||||||
|
|
||||||
@media (max-width: 760px) {
|
@media (max-width: 760px) {
|
||||||
.page-wrap {
|
.page-wrap {
|
||||||
padding-top: 0.5rem;
|
padding: 0.5rem 0.75rem 3.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero {
|
.hero {
|
||||||
|
|||||||
@@ -82,7 +82,7 @@ a {
|
|||||||
|
|
||||||
@media (max-width: 760px) {
|
@media (max-width: 760px) {
|
||||||
.page-shell {
|
.page-shell {
|
||||||
padding-top: 0.5rem;
|
padding: 0.5rem 0.75rem 3.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hero-panel {
|
.hero-panel {
|
||||||
|
|||||||
Reference in New Issue
Block a user