diff options
| author | unwox <me@unwox.com> | 2025-09-15 13:16:03 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2025-09-15 13:16:03 +0600 |
| commit | e6f38c4e2bdaa8bc5a5a9f5dbf808325f5f45d74 (patch) | |
| tree | 5656c14b896e33d0041f2cac6478995e5bcbea47 /pages | |
| parent | 598578a314962c5b5ffdc73cd41e3add9adc52d7 (diff) | |
small styling improvements
Diffstat (limited to 'pages')
| -rw-r--r-- | pages/index.fnl | 4 | ||||
| -rw-r--r-- | pages/shop/_product/index.fnl | 2 |
2 files changed, 3 insertions, 3 deletions
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)]]) |
