fix: footer
This commit is contained in:
parent
c8f99441aa
commit
79bf87c427
2 changed files with 2 additions and 8 deletions
|
@ -5,7 +5,7 @@ import { fetchGlobalData } from "@utils/data/global/index.js";
|
||||||
const { nav } = await fetchGlobalData(Astro);
|
const { nav } = await fetchGlobalData(Astro);
|
||||||
---
|
---
|
||||||
|
|
||||||
<footer style={updated ? undefined : "margin-top: var(--spacing-3xl)"}>
|
<footer>
|
||||||
<nav aria-label="Social icons" class="social">
|
<nav aria-label="Social icons" class="social">
|
||||||
{
|
{
|
||||||
nav.footer_icons.map((link) => (
|
nav.footer_icons.map((link) => (
|
||||||
|
|
|
@ -440,7 +440,7 @@ main {
|
||||||
main,
|
main,
|
||||||
footer {
|
footer {
|
||||||
width: 80%;
|
width: 80%;
|
||||||
margin: 0 auto;
|
margin: var(--sizing-3xl) auto 0;
|
||||||
|
|
||||||
@media screen and (min-width: 768px) {
|
@media screen and (min-width: 768px) {
|
||||||
max-width: 768px;
|
max-width: 768px;
|
||||||
|
@ -448,12 +448,6 @@ footer {
|
||||||
}
|
}
|
||||||
|
|
||||||
footer {
|
footer {
|
||||||
& .updated {
|
|
||||||
text-align: center;
|
|
||||||
font-size: var(--font-size-sm);
|
|
||||||
margin: var(--spacing-3xl) 0 var(--spacing-lg);
|
|
||||||
}
|
|
||||||
|
|
||||||
& nav {
|
& nav {
|
||||||
&.social,
|
&.social,
|
||||||
&.sub-pages {
|
&.sub-pages {
|
||||||
|
|
Reference in a new issue