From 2dc9ab218ecf25235c234dde7187818995eb7c8b Mon Sep 17 00:00:00 2001
From: Filip Wandzio
Date: Sun, 5 Oct 2025 22:19:41 +0200
Subject: Fix social matrix link, center main
---
src/app.css | 11 +++++------
src/lib/components/Main.svelte | 2 +-
2 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/src/app.css b/src/app.css
index 5b049eb..3363b06 100644
--- a/src/app.css
+++ b/src/app.css
@@ -30,9 +30,8 @@ body {
overflow: auto;
overflow-y: auto;
- /* Hide scrollbar, preserve scroll */
- -ms-overflow-style: none; /* IE/Edge */
- scrollbar-width: none; /* Firefox */
+ -ms-overflow-style: none;
+ scrollbar-width: none;
}
body::-webkit-scrollbar {
@@ -171,9 +170,9 @@ nav a {
main {
flex-grow: 1;
width: 100%;
- max-width: none;
- margin: 0;
- padding: 1em;
+ max-width: 80vw;
+ margin: 0 auto;
+ padding: 2em 4em;
}
@media (max-width: 48em) {
diff --git a/src/lib/components/Main.svelte b/src/lib/components/Main.svelte
index d5f0e0e..f29581c 100644
--- a/src/lib/components/Main.svelte
+++ b/src/lib/components/Main.svelte
@@ -34,7 +34,7 @@
Or find me in the [matrix] network: