From e6f38c4e2bdaa8bc5a5a9f5dbf808325f5f45d74 Mon Sep 17 00:00:00 2001 From: unwox Date: Mon, 15 Sep 2025 13:16:03 +0600 Subject: small styling improvements --- pages/index.fnl | 4 ++-- pages/shop/_product/index.fnl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'pages') diff --git a/pages/index.fnl b/pages/index.fnl index a7761a2..88cdca7 100644 --- a/pages/index.fnl +++ b/pages/index.fnl @@ -25,8 +25,8 @@ (let [chosen (. list (math.random (# list)))] (HTML [:div {} - [:a {:href (.. "static/" chosen.name ".webp") :target "_blank"} ""] - [:img {:src (.. "static/" chosen.name "-p.webp") :alt chosen.alt}]]))) + [:a {:href (.. "static/" chosen.name ".webp") :target "_blank"} + [:img {:src (.. "static/" chosen.name "-p.webp") :alt chosen.alt}]]]))) (fn content [authenticated?] [(HTML diff --git a/pages/shop/_product/index.fnl b/pages/shop/_product/index.fnl index b4df0e5..cb451b7 100644 --- a/pages/shop/_product/index.fnl +++ b/pages/shop/_product/index.fnl @@ -86,7 +86,7 @@ [:img {:class "product-page-img-mobile mb-1" :src (.. link "-thumbnail.jpg")}]])) (if (not (lib.empty? product.description)) - (HTML [:div {:class "mb-1"} "***"]) + (HTML [:div {:class "product-page-delimiter mb-1"} "***"]) "") (if (not (lib.empty? product.description)) (HTML [:div {} [:NO-ESCAPE (text->html product.description)]]) -- cgit v1.2.3