aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilip Wandzio <contact@philw.dev>2025-10-05 22:19:41 +0200
committerFilip Wandzio <contact@philw.dev>2025-10-05 22:19:41 +0200
commit2dc9ab218ecf25235c234dde7187818995eb7c8b (patch)
tree42776d18bcca77578e2bcffe2c90df3736936da9
parent8a761c7af5cd0855d1d489c20714b0070fa01ef5 (diff)
downloadphilw.dev-2dc9ab218ecf25235c234dde7187818995eb7c8b.tar.gz
philw.dev-2dc9ab218ecf25235c234dde7187818995eb7c8b.zip
Fix social matrix link, center main
-rw-r--r--src/app.css11
-rw-r--r--src/lib/components/Main.svelte2
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 {
30 overflow: auto; 30 overflow: auto;
31 overflow-y: auto; 31 overflow-y: auto;
32 32
33 /* Hide scrollbar, preserve scroll */ 33 -ms-overflow-style: none;
34 -ms-overflow-style: none; /* IE/Edge */ 34 scrollbar-width: none;
35 scrollbar-width: none; /* Firefox */
36} 35}
37 36
38body::-webkit-scrollbar { 37body::-webkit-scrollbar {
@@ -171,9 +170,9 @@ nav a {
171main { 170main {
172 flex-grow: 1; 171 flex-grow: 1;
173 width: 100%; 172 width: 100%;
174 max-width: none; 173 max-width: 80vw;
175 margin: 0; 174 margin: 0 auto;
176 padding: 1em; 175 padding: 2em 4em;
177} 176}
178 177
179@media (max-width: 48em) { 178@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 @@
34 </p> 34 </p>
35 <p> 35 <p>
36 Or find me in the [matrix] network: <a 36 Or find me in the [matrix] network: <a
37 href="https://matrix.to/@philw:matrix.philw.dev" 37 href="https://matrix.to/#/@philw:matrix.philw.dev"
38 target="_blank" 38 target="_blank"
39 rel="noopener noreferrer" 39 rel="noopener noreferrer"
40 aria-label="filip wandzio matrix account" 40 aria-label="filip wandzio matrix account"