From 8cf3e3001f2cbd18da73fcc92ae5f4b76d3ecf21 Mon Sep 17 00:00:00 2001
From: Patsagorn Y. <49602385+ptsgrn@users.noreply.github.com>
Date: Thu, 16 Jan 2025 20:44:33 +0000
Subject: [PATCH] feat(i18n): Thai translations (#1722)
---
quartz/components/styles/backlinks.scss | 51 ++++++++++++++++++++++-----------------------------
1 files changed, 22 insertions(+), 29 deletions(-)
diff --git a/quartz/components/styles/backlinks.scss b/quartz/components/styles/backlinks.scss
index 3b7ab5b..7b3237b 100644
--- a/quartz/components/styles/backlinks.scss
+++ b/quartz/components/styles/backlinks.scss
@@ -1,10 +1,8 @@
@use "../../styles/variables.scss" as *;
.backlinks {
- @media all and not ($desktop) {
- overflow-y: auto;
- display: initial;
- &:after {
+ flex-direction: column;
+ /*&:after {
pointer-events: none;
content: "";
width: 100%;
@@ -15,37 +13,32 @@
opacity: 1;
transition: opacity 0.3s ease;
background: linear-gradient(transparent 0px, var(--light));
- }
+ }*/
- &:has(> .overflow) {
- position: unset;
- }
+ & > h3 {
+ font-size: 1rem;
+ margin: 0;
+ }
- & > h3 {
- font-size: 1rem;
- margin: 0;
- }
+ & > ul {
+ list-style: none;
+ padding: 0;
+ margin: 0.5rem 0;
- & > ul {
- list-style: none;
- padding: 0;
- margin: 0.5rem 0;
-
- & > li {
- & > a {
- background-color: transparent;
- }
+ & > li {
+ & > a {
+ background-color: transparent;
}
}
+ }
- & > .overflow {
- max-height: unset;
- & > li:last-of-type {
- margin-bottom: 0;
- }
- &:after {
- display: none;
- }
+ & > .overflow {
+ &:after {
+ display: none;
+ }
+ height: auto;
+ @media all and not ($desktop) {
+ height: 250px;
}
}
}
--
Gitblit v1.10.0