Package page fix

This commit is contained in:
Thomas Smith 2023-01-26 12:41:29 -05:00
parent a5cac262c5
commit d377a9449b

View file

@ -4,14 +4,12 @@
<!-- Desktop/Tablet Package Display --> <!-- Desktop/Tablet Package Display -->
<span> <span class="grid-package-display">
{{- partial "package-grid.html" . -}} {{- partial "package-grid.html" . -}}
</span> </span>
<!-- Mobile Package Display --> <!-- Mobile Package Display -->
<!-- dont remove, it is not completely useless there is a ui bug i couldnt figure out
the only solution is to keep it here. sorry - neil
-->
<span class="swiper-package-display"> <span class="swiper-package-display">
{{- partial "swiper.html" . -}} {{- partial "swiper.html" . -}}
</span> </span>
@ -19,13 +17,22 @@
<!-- Style for Swiper --> <!-- Style for Swiper -->
<style> <style>
.swiper-package-display{
display:block;
}
.grid-package-display{
display:none;
}
@media only screen and (min-width: 576px) {
.grid-package-display{ .grid-package-display{
display:block; display:block;
} }
.swiper-package-display{ .swiper-package-display{
/* dont remove refer to comment above */
display:none; display:none;
} }
}
</style> </style>
<hr> <hr>