fix footers
This commit is contained in:
1 parent
34f03860a6
commit
3f2c9833a8
2 files changed
+22
-18
No files matched your search
@@ -9,7 +9,7 @@ DATA_PATH = BASE_DIR / "data" / "entries.csv"
|
|||||||
DEFAULT_DATABASE_URL = f"sqlite:///{BASE_DIR / 'data' / 'boker-dev.sqlite3'}"
|
DEFAULT_DATABASE_URL = f"sqlite:///{BASE_DIR / 'data' / 'boker-dev.sqlite3'}"
|
||||||
|
|
||||||
ELIGIBLE_MIN_SESSIONS = 3
|
ELIGIBLE_MIN_SESSIONS = 3
|
||||||
APP_VERSION = "2.5.11"
|
APP_VERSION = "2.5.12"
|
||||||
|
|
||||||
|
|
||||||
def load_local_env(env_path: Path) -> None:
|
def load_local_env(env_path: Path) -> None:
|
||||||
|
|||||||
+21
-17
@@ -245,7 +245,7 @@ h1, h2, h3, h4 { margin: 0; }
|
|||||||
min-width: 0;
|
min-width: 0;
|
||||||
max-width: none;
|
max-width: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: clamp(20px, 3vw, 36px) clamp(24px, 4vw, 48px) 96px;
|
padding: clamp(20px, 3vw, 36px) clamp(24px, 4vw, 48px) 0;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
@@ -274,7 +274,7 @@ h1, h2, h3, h4 { margin: 0; }
|
|||||||
.sidebar__link { padding: 10px 10px; white-space: nowrap; gap: 6px; }
|
.sidebar__link { padding: 10px 10px; white-space: nowrap; gap: 6px; }
|
||||||
.sidebar__link svg { display: none; }
|
.sidebar__link svg { display: none; }
|
||||||
.sidebar__footer { display: none; }
|
.sidebar__footer { display: none; }
|
||||||
.page--app { padding: 16px 16px 64px; overflow-y: visible; height: auto; }
|
.page--app { padding: 16px 16px 0; overflow-y: visible; height: auto; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ================================================================
|
/* ================================================================
|
||||||
@@ -397,9 +397,10 @@ h1, h2, h3, h4 { margin: 0; }
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: clamp(22px,3.4vw,46px) var(--gutter) 96px;
|
padding: clamp(22px,3.4vw,46px) var(--gutter) 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-width: 0;
|
min-width: 0;
|
||||||
|
min-height: calc(100vh - 62px);
|
||||||
}
|
}
|
||||||
.page--public { max-width: var(--w-public); }
|
.page--public { max-width: var(--w-public); }
|
||||||
.page--session { max-width: var(--w-session); }
|
.page--session { max-width: var(--w-session); }
|
||||||
@@ -413,12 +414,12 @@ h1, h2, h3, h4 { margin: 0; }
|
|||||||
}
|
}
|
||||||
.site-footer {
|
.site-footer {
|
||||||
margin-top: auto;
|
margin-top: auto;
|
||||||
padding: clamp(28px, 4vw, 48px) 0 clamp(20px, 3vw, 32px);
|
padding: clamp(20px, 3vw, 32px) 0 clamp(16px, 2vw, 24px);
|
||||||
border-top: 1px solid var(--divider);
|
border-top: 1px solid var(--divider);
|
||||||
display: flex;
|
display: grid;
|
||||||
|
grid-template-columns: 1fr auto 1fr;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-wrap: wrap;
|
column-gap: 16px;
|
||||||
gap: 6px 20px;
|
|
||||||
color: var(--faintest);
|
color: var(--faintest);
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
@@ -450,7 +451,7 @@ h1, h2, h3, h4 { margin: 0; }
|
|||||||
}
|
}
|
||||||
.site-footer__links a:hover { color: var(--text-2); background: var(--surface-raised); }
|
.site-footer__links a:hover { color: var(--text-2); background: var(--surface-raised); }
|
||||||
.site-footer__brand {
|
.site-footer__brand {
|
||||||
margin-left: auto;
|
justify-self: end;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
.site-footer__brand a {
|
.site-footer__brand a {
|
||||||
@@ -462,17 +463,17 @@ h1, h2, h3, h4 { margin: 0; }
|
|||||||
.site-footer__brand a:hover { color: var(--text-2); }
|
.site-footer__brand a:hover { color: var(--text-2); }
|
||||||
@media (max-width: 640px) {
|
@media (max-width: 640px) {
|
||||||
.site-footer {
|
.site-footer {
|
||||||
flex-direction: column;
|
grid-template-columns: 1fr;
|
||||||
align-items: flex-start;
|
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
padding: 18px 0 max(20px, env(safe-area-inset-bottom));
|
padding: 18px 0 max(20px, env(safe-area-inset-bottom));
|
||||||
}
|
}
|
||||||
.site-footer__brand { margin-left: 0; }
|
.page--landing .site-footer,
|
||||||
/* legacy compat — nothing to do */
|
.page--auth .site-footer,
|
||||||
.site-footer span:nth-child(2),
|
.page--error .site-footer {
|
||||||
.site-footer span:nth-child(3) {
|
padding-left: 16px;
|
||||||
justify-self: center;
|
padding-right: 16px;
|
||||||
}
|
}
|
||||||
|
.site-footer__brand { justify-self: start; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ================================================================
|
/* ================================================================
|
||||||
@@ -3854,9 +3855,12 @@ select.control { cursor: pointer; }
|
|||||||
padding: 16px var(--gutter) 0;
|
padding: 16px var(--gutter) 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.page--landing .site-footer {
|
.page--landing .site-footer,
|
||||||
|
.page--auth .site-footer,
|
||||||
|
.page--error .site-footer {
|
||||||
max-width: var(--w-public);
|
max-width: var(--w-public);
|
||||||
margin: 0 auto;
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
padding-left: var(--gutter);
|
padding-left: var(--gutter);
|
||||||
padding-right: var(--gutter);
|
padding-right: var(--gutter);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user