From 33d34eea0f1fd8944bbcd53ff76451d49ad30102 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Sat, 9 Mar 2024 15:34:56 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20table=20of=20contents=20bo?= =?UTF-8?q?rder=20missing?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: #794 --- CHANGELOG.md | 1 + assets/css/compiled/main.css | 28 ++++------------------------ layouts/partials/toc.html | 4 ++-- 3 files changed, 7 insertions(+), 26 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f257899a..23c95997 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Fixed +- Table of Contents missing left border detail ([#794](https://github.com/jpanther/congo/issues/794)) - `x-twitter` option missing when using sharing links ([#809](https://github.com/jpanther/congo/issues/809)) - Chinese default config contains incorrect `author` block name ([#807](https://github.com/jpanther/congo/pull/807)) - Links in articles are prefixed with a blank space ([#813](https://github.com/jpanther/congo/pull/813)) diff --git a/assets/css/compiled/main.css b/assets/css/compiled/main.css index 5be8c860..80aacf3f 100644 --- a/assets/css/compiled/main.css +++ b/assets/css/compiled/main.css @@ -2221,6 +2221,10 @@ code { border-width: 1px; } +.border-s { + border-inline-start-width: 1px; +} + .border-t { border-top-width: 1px; } @@ -3093,10 +3097,6 @@ code { right: 0px; } -.ltr\:-ml-5:where([dir="ltr"], [dir="ltr"] *) { - margin-left: -1.25rem; -} - .ltr\:block:where([dir="ltr"], [dir="ltr"] *) { display: block; } @@ -3109,22 +3109,10 @@ code { display: none; } -.ltr\:border-l:where([dir="ltr"], [dir="ltr"] *) { - border-left-width: 1px; -} - -.ltr\:pl-5:where([dir="ltr"], [dir="ltr"] *) { - padding-left: 1.25rem; -} - .rtl\:left-0:where([dir="rtl"], [dir="rtl"] *) { left: 0px; } -.rtl\:-mr-5:where([dir="rtl"], [dir="rtl"] *) { - margin-right: -1.25rem; -} - .rtl\:block:where([dir="rtl"], [dir="rtl"] *) { display: block; } @@ -3137,14 +3125,6 @@ code { display: none; } -.rtl\:border-r:where([dir="rtl"], [dir="rtl"] *) { - border-right-width: 1px; -} - -.rtl\:pr-5:where([dir="rtl"], [dir="rtl"] *) { - padding-right: 1.25rem; -} - @media print { .print\:hidden { display: none; diff --git a/layouts/partials/toc.html b/layouts/partials/toc.html index 883abdc3..debcb2db 100644 --- a/layouts/partials/toc.html +++ b/layouts/partials/toc.html @@ -1,10 +1,10 @@
{{ i18n "article.table_of_contents" }} -
+
{{ .TableOfContents | emojify }}