From 9aa2cd00092d6fcbcfa7a07bcf465d6671678f28 Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Mon, 21 Dec 2020 17:51:09 +0000
Subject: [PATCH] update

---
 assets/js/search.js          |    2 +-
 assets/sass/_base.sass       |   14 ++++++++++++++
 assets/sass/_components.sass |    2 ++
 assets/sass/_utils.sass      |    8 +++++++-
 4 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/assets/js/search.js b/assets/js/search.js
index 2c4851a..ef9547e 100644
--- a/assets/js/search.js
+++ b/assets/js/search.js
@@ -3,7 +3,7 @@
   {
     "link": "{{ .Permalink }}",
     "title": "{{ .Title }}",
-    "body": "{{ .PlainWords }}".toLowerCase(),
+    "body": `{{ .PlainWords }}`.toLowerCase(),
   },
   {{- end }}
 ];
diff --git a/assets/sass/_base.sass b/assets/sass/_base.sass
index ec09249..f88530d 100644
--- a/assets/sass/_base.sass
+++ b/assets/sass/_base.sass
@@ -188,3 +188,17 @@
 
 ::placeholder
   font-size: 1rem
+
+svg
+  &.icon_sort
+    fill: var(--light)
+    height: 0.7rem
+    width: 0.7rem
+    display: inline-block
+    margin-left: auto
+    vertical-align: middle
+
+canvas
+  margin: 2.5rem auto 0 auto
+  max-width: 450px !important
+  max-height: 450px !important
\ No newline at end of file
diff --git a/assets/sass/_components.sass b/assets/sass/_components.sass
index 15ba158..83d08b8 100644
--- a/assets/sass/_components.sass
+++ b/assets/sass/_components.sass
@@ -159,6 +159,8 @@
   align-items: center
   padding-top: 2rem
   margin: 2rem 0
+  max-width: 100vw
+  overflow: hidden
   svg
     filter: opacity(0.75)
     width: 1.25rem
diff --git a/assets/sass/_utils.sass b/assets/sass/_utils.sass
index 54b9b61..82d4ebe 100644
--- a/assets/sass/_utils.sass
+++ b/assets/sass/_utils.sass
@@ -68,4 +68,10 @@
   @media screen and (min-width: 768px)
     max-width: 100%
   &:hover
-    overflow-x: auto
\ No newline at end of file
+    overflow-x: auto
+
+.chart
+  display: grid
+  grid-gap: 1.5rem
+  max-width: 98vw !important
+  max-height: 98vw !important
\ No newline at end of file

--
Gitblit v1.10.0