From 87dc7ff3b315768965b11f5a48ead1f4a04d7321 Mon Sep 17 00:00:00 2001
From: alexanderdavide <alexeble1998@gmail.com>
Date: Fri, 11 Feb 2022 16:31:52 +0000
Subject: [PATCH] refactor: make archive self-contained

---
 layouts/_default/list.html                    |    2 +-
 assets/scss/partials/components/_archive.scss |    6 ++++++
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/assets/scss/partials/components/_archive.scss b/assets/scss/partials/components/_archive.scss
index 2bc5dfc..03c8509 100644
--- a/assets/scss/partials/components/_archive.scss
+++ b/assets/scss/partials/components/_archive.scss
@@ -1,4 +1,10 @@
 .archive {
+  width: 100%;
+
+  @media screen and (min-width: 961px), print {
+    width: $content-width;
+  }
+
   &__list {
     font-size: 1.4rem;
     margin: 30px;
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 8bc1103..9351723 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,6 +1,6 @@
 {{ define "main" }}
   <div
-    class="post-wrapper archive {{ with .Site.Params.doNotLoadAnimations }}
+    class="archive {{ with .Site.Params.doNotLoadAnimations }}
       .
 
     {{ else }}

--
Gitblit v1.10.0