diff options
| author | unwox <me@unwox.com> | 2025-10-31 14:54:10 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2025-10-31 14:54:10 +0600 |
| commit | 2c5907198ea9f883c038a8f8de9c072d6c5c56bc (patch) | |
| tree | c5b6b70c97b18072e4f5a595135971008e0a2055 /pages/shop | |
| parent | d5c0dd24c01c3406af3e8f8f166cb629b8bbf811 (diff) | |
small styling improvements
Diffstat (limited to 'pages/shop')
| -rw-r--r-- | pages/shop/_product/index.fnl | 7 | ||||
| -rw-r--r-- | pages/shop/index.fnl | 2 |
2 files changed, 4 insertions, 5 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" diff --git a/pages/shop/index.fnl b/pages/shop/index.fnl index c456408..cfddbe7 100644 --- a/pages/shop/index.fnl +++ b/pages/shop/index.fnl @@ -134,7 +134,7 @@ [:h3 {:class "shop-item-title" :data-parser "title"} product.title]] (templates.product-overview product "mb-0-25 font-size-0-875") [:div {:class "shop-item-price"} - (templates.add-to-basket-form product basket "" redirect-url)] + (templates.add-to-basket-form product basket "mb-0-5" redirect-url)] [:div {:data-parser "description"} product.short-description]])) (fn content [db products page total filters basket agreed-to-cookies? authenticated?] |
