From b1c94914f3cd31a15e7e5abacc9447ac468d09e2 Mon Sep 17 00:00:00 2001 From: itskitto Date: Tue, 22 Jun 2021 19:13:16 -0400 Subject: [PATCH] increase width for sidebar and article content, remove center align --- public/index.css | 4 ++++ src/layouts/Main.astro | 3 +-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/public/index.css b/public/index.css index c67719dd7226f..ccf5cc29966e5 100644 --- a/public/index.css +++ b/public/index.css @@ -264,6 +264,10 @@ input[name='theme-toggle'] { z-index: -1; } +nav { + width: 65%; +} + nav .heading { font-weight: 400; font-size: 1.25rem; diff --git a/src/layouts/Main.astro b/src/layouts/Main.astro index 789bfb615a4ed..a1461d3867e6a 100644 --- a/src/layouts/Main.astro +++ b/src/layouts/Main.astro @@ -118,12 +118,11 @@ editHref = `https://github.com/snowpackjs/astro/tree/main/examples/doc/src/pages grid-column: 2; display: flex; flex-direction: column; - align-items: center; height: 100%; } .content { - max-width: 64ch; + max-width: 75ch; width: 100%; height: 100%; display: flex;