Browse Source

Update comments style

Track3 2 years ago
parent
commit
333cc213b8
3 changed files with 5 additions and 6 deletions
  1. 1 1
      assets/js/main.js
  2. 4 4
      assets/scss/partials/_comments.scss
  3. 0 1
      vercel.json

+ 1 - 1
assets/js/main.js

@@ -90,7 +90,7 @@ const loadComments = () => {
 
   // add relevant data-isso attributes here
   script.setAttribute("data-isso", "https://comment.ojbk.im");
-  // script.setAttribute("data-isso-vote", "false");
+  script.setAttribute("data-isso-vote", "false");
   // script.setAttribute("data-isso-max-comments-top", "10");
   // script.setAttribute("data-isso-reveal-on-click", "10");
   script.setAttribute("data-isso-css-url", "/css/isso.css");

+ 4 - 4
assets/scss/partials/_comments.scss

@@ -1,6 +1,6 @@
 #site-main > #isso-thread {
   margin-top: 3em;
-  font-size: 1em;
+  font-size: 1rem;
 
   > h4 {
     color: var(--c-txt);
@@ -18,6 +18,7 @@
 
   .isso-postbox {
     max-width: unset;
+    min-width: 100%;
     margin-bottom: 1em;
   }
 
@@ -90,9 +91,7 @@
 
   .isso-comment-footer {
     text-align: right;
-    > .isso-downvote {
-      display: none;
-    }
+    font-size: .85em;
   }
 
   a {
@@ -109,6 +108,7 @@
     border-bottom: 1px solid var(--c-bg-alt);
     &:hover {
       color: $accent!important;
+      border-bottom-color: $accent;
     }
   }
 }

+ 0 - 1
vercel.json

@@ -1,5 +1,4 @@
 {
-  "trailingSlash": true,
   "redirects": [
     {
       "source": "/posts/(.*)",