From 4bc8184593ac1f3a25cb5cc5dcffc3b47c027dc1 Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Wed, 27 Aug 2025 11:38:29 -0500 Subject: [PATCH] Add arrow in the right side of list page section buttons This makes it more obvious that you can click this to view a different area. --- assets/css/bobastyle.css | 13 +++++++++++++ layouts/section.summary.html | 24 +++++++++++++++--------- 2 files changed, 28 insertions(+), 9 deletions(-) diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index aa71b9b..e3ddb6b 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -611,6 +611,9 @@ body { color: var(--text-1); border-radius: 12px; padding: 1px 25px; + display: flex; + flex-direction: row; + justify-content: space-between; } .section:hover { @@ -634,6 +637,16 @@ body { margin-bottom: 5px; } +.section-arrow { + margin-block: auto; + max-height: fit-content; + float: right; +} +.section-arrow > .icon { + height: 48px; + width: 48px; +} + /* }}} */ diff --git a/layouts/section.summary.html b/layouts/section.summary.html index 1e12b72..4566b50 100644 --- a/layouts/section.summary.html +++ b/layouts/section.summary.html @@ -1,14 +1,20 @@
-

- {{ with .Params.icon }}{{ partial "icon.html" . }}{{ end }} - {{ .Title | markdownify }} -

+
+

+ {{ with .Params.icon }}{{ partial "icon.html" . }}{{ end }} + {{ .Title | markdownify }} +

- {{ with .Summary }} -
- {{ . }} -
- {{ end }} + {{ with .Summary }} +
+ {{ . }} +
+ {{ end }} +
+ +
+ {{ partial "icon.html" "arrow-right" }} +