Browse Source

Fix comments overflow issue

Track3 2 years ago
parent
commit
cd15dad241
3 changed files with 9 additions and 2 deletions
  1. 1 0
      assets/scss/partials/_comments.scss
  2. 1 1
      assets/scss/partials/_single.scss
  3. 7 1
      vercel.json

+ 1 - 0
assets/scss/partials/_comments.scss

@@ -1,6 +1,7 @@
 #site-main > #isso-thread {
   margin-top: 3em;
   font-size: 1rem;
+  overflow-wrap: break-word;
 
   > h4 {
     color: var(--c-txt);

+ 1 - 1
assets/scss/partials/_single.scss

@@ -220,7 +220,7 @@ hr.post-end {
   margin-bottom: 2em;
   font-size: 1.2em;
   padding: .5em;
-  border: 1px solid $accent;
+  border: 1px solid var(--c-txt-alt);
   > a {
     flex-basis: 50%;
     flex-grow: 1;

+ 7 - 1
vercel.json

@@ -1,4 +1,5 @@
 {
+  "trailingSlash": true,
   "redirects": [
     {
       "source": "/posts/(.*)",
@@ -12,7 +13,12 @@
     },
     {
       "source": "/friends/",
-      "destination": "/links/",
+      "destination": "/link/",
+      "permanent": true
+    },
+    {
+      "source": "/links/",
+      "destination": "/link/",
       "permanent": true
     }
   ]