From 0cf9dda4fd4b14c77cb46cecc7ef4b56f382aaaf Mon Sep 17 00:00:00 2001
From: Bauke
Date: Sun, 9 Oct 2022 13:34:46 +0200
Subject: [PATCH] Narrow img style to charts.
---
source/scss/common.scss | 5 -----
source/scss/index.scss | 5 +++++
source/templates/index.html | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/source/scss/common.scss b/source/scss/common.scss
index 2682ebf..cde0eaf 100644
--- a/source/scss/common.scss
+++ b/source/scss/common.scss
@@ -26,11 +26,6 @@ a:visited {
}
}
-img {
- display: block;
- width: 100%;
-}
-
h1,
h2,
h3,
diff --git a/source/scss/index.scss b/source/scss/index.scss
index 92c0d3c..8bc340f 100644
--- a/source/scss/index.scss
+++ b/source/scss/index.scss
@@ -59,6 +59,11 @@
background-color: var(--background-2);
}
}
+
+ .chart {
+ display: block;
+ width: 100%;
+ }
}
.page-footer {
diff --git a/source/templates/index.html b/source/templates/index.html
index e89c650..ef2c179 100644
--- a/source/templates/index.html
+++ b/source/templates/index.html
@@ -18,7 +18,7 @@
registered users on Tildes.
-
+