From 0f936943cada7ab0987b28751c840edad026d7f9 Mon Sep 17 00:00:00 2001 From: brooke Date: Wed, 7 Aug 2024 16:24:26 -0400 Subject: [PATCH] put title above info in modal, add class specifically for parentheticals --- .../layouts/partials/rental_catalog.html | 50 ++++++++++++++----- themes/gallo/static/css/tailwind.min.css | 2 +- 2 files changed, 38 insertions(+), 14 deletions(-) diff --git a/themes/gallo/layouts/partials/rental_catalog.html b/themes/gallo/layouts/partials/rental_catalog.html index 11790cf..1934403 100644 --- a/themes/gallo/layouts/partials/rental_catalog.html +++ b/themes/gallo/layouts/partials/rental_catalog.html @@ -52,7 +52,21 @@ {{ end }}
- {{ .item }} {{ if ne .cat "" }} + {{- $text := .item -}} {{- $parts := split $text "(" -}} + +
{{ .cat }}
- {{ end }}
{{ if ne .quant "" }} @@ -128,30 +141,41 @@ id="modal-overlay" class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle self-center sm:max-w-xl w-full md:max-w-[800px]" > -