diff --git a/src/assets/css/components/card.css b/src/assets/css/components/card.css index b38ffae..203e7cc 100644 --- a/src/assets/css/components/card.css +++ b/src/assets/css/components/card.css @@ -21,6 +21,10 @@ } &__inner{ @apply grid gap-[calc(var(--grid-gutter)*2)] grid-cols-12; + > p { + grid-column: span 12; + @apply mb-0; + } } > p{ @apply font-bold mb-4; @@ -62,10 +66,10 @@ } } &__title{ - @media screen and (min-width: 80rem) and (max-width: 90rem){ + /* @media screen and (min-width: 80rem) and (max-width: 90rem){ hyphens:auto; hyphenate-limit-chars: 6; - } + } */ @apply w-full flex items-end /*items-start*/; > *:not(.card__icon){ @apply text-size-lg mb-0 w-full; @@ -76,8 +80,17 @@ @apply break-words; } } + .card__icon, > *:has(> .card__icon){ + @apply shrink-0 ml-3 w-auto; + } + > *:has(> .card__icon){ + @apply flex items-start shrink-0 ml-3 w-auto; + .card__icon{ + @apply mt-0.5 !important; + } + } .card__icon{ - @apply shrink-0 ml-3 relative; + @apply relative; } } &__date{ @@ -150,7 +163,7 @@ @screen xl{ aspect-ratio: unset; } - .card__icon{ + .card__icon, > *:has(> .card__icon){ @apply xl:absolute xl:right-[calc(var(--grid-gutter)*2)] /*xl:top-7*/; } footer{ diff --git a/src/pages/contatti/strutture-empty-search.twig b/src/pages/contatti/strutture-empty-search.twig new file mode 100644 index 0000000..0185874 --- /dev/null +++ b/src/pages/contatti/strutture-empty-search.twig @@ -0,0 +1,19 @@ +{% set currentPage = 6 %} + +{% set bodyClasses = 'page has-primary-bg' %} + +{% extends "../../layout/archive-contacts.twig" %} + +{% block posts %} + +
+
+

Nessun risultato

+
+
+ +{% endblock %} + +{% block pagination %} + {% include "../../blocks/pagination.twig" with {"not_first_page": true} %} +{% endblock %}