Fix image popover and home screen size errors (#60)

Closes: #57

Signed-off-by: Justin Georgi <justin.georgi@gmail.com>

Reviewed-on: Georgi_Lab/ALVINN_f7#60
This commit is contained in:
2023-12-22 16:31:58 -07:00
parent 619211e827
commit cf4e9f7c3a
2 changed files with 50 additions and 9 deletions

View File

@@ -8,7 +8,7 @@
<f7-nav-title sliding>A.L.V.I.N.N.</f7-nav-title>
</f7-navbar>
<!-- Page content-->
<div style="display: grid; grid-template-columns: 100%; grid-template-rows: min-content min-content min-content 1fr; align-content: stretch; gap: 15px; max-height: calc(100vh - (var(--f7-navbar-height) + var(--f7-safe-area-top))); height: calc(100vh - (var(--f7-navbar-height) + var(--f7-safe-area-top)));">
<div style="display: grid; grid-template-columns: 100%; grid-template-rows: min-content min-content min-content 1fr; align-content: stretch; gap: 15px; min-height: 0px; max-height: calc(100vh - (var(--f7-navbar-height) + var(--f7-safe-area-top))); height: calc(100vh - (var(--f7-navbar-height) + var(--f7-safe-area-top)));">
<h2 style="text-align: center; padding-left: 30px; padding-right: 30px;">Anatomy Lab Visual Identification Neural Network</h2>
<h4 style="text-align: center; margin: 0;">Veterinary Anatomy Edition</h4>
<p style="text-align: center; margin: 0;">Select a region to begin</p>
@@ -40,6 +40,7 @@
gap: 20px 20px;
margin: 30px;
margin-top: 0;
transform: scale(97%);
}
.region-button {
@@ -58,7 +59,7 @@
@media (min-width: 600px) {
.region-grid {
grid-template-columns: auto [thorax] auto [abdomen] auto [limbs] auto [headneck] auto auto;
grid-template-rows: 1fr;
grid-template-rows: minmax(0, 1fr);
}
.thorax {
@@ -76,6 +77,11 @@
.headneck {
grid-column-start: headneck;
}
.region-button {
width: auto;
height: calc(100% - 15px);
}
}
</style>