summaryrefslogtreecommitdiff
path: root/pages/shop/_product
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2025-10-31 14:54:10 +0600
committerunwox <me@unwox.com>2025-10-31 14:54:10 +0600
commit2c5907198ea9f883c038a8f8de9c072d6c5c56bc (patch)
treec5b6b70c97b18072e4f5a595135971008e0a2055 /pages/shop/_product
parentd5c0dd24c01c3406af3e8f8f166cb629b8bbf811 (diff)
small styling improvements
Diffstat (limited to 'pages/shop/_product')
-rw-r--r--pages/shop/_product/index.fnl7
1 files changed, 3 insertions, 4 deletions
diff --git a/pages/shop/_product/index.fnl b/pages/shop/_product/index.fnl
index 6d2e3f3..23a057f 100644
--- a/pages/shop/_product/index.fnl
+++ b/pages/shop/_product/index.fnl
@@ -68,11 +68,10 @@
[:a {:href (.. "/shop/" product.name "/edit")}
"% Редактировать"]])
"")
- (templates.product-overview product "mb-0-25")
- (templates.add-to-basket-form product basket "mb-0-5" redirect-url)
+ (templates.product-overview product "mb-0-5")
+ (templates.add-to-basket-form product basket "mb-1-5" redirect-url)
- [:div {:class "mb-1" :style "font-style: italic;"}
- product.short-description]
+ [:div {:class "mb-1"} product.short-description]
(let [link (.. "/static/files/" product.image1)]
(HTML [:a {:href link :target "_blank"}
[:img {:class "product-page-img-mobile mb-1"