product > details : preserve line jump
All checks were successful
Deploy / Deploy to Production (push) Successful in 9s

This commit is contained in:
isUnknown 2025-12-12 10:59:53 +01:00
parent 30d09d6104
commit 1ca2fcfeee
8 changed files with 30 additions and 4 deletions

View file

@ -0,0 +1,7 @@
{
"permissions": {
"allow": [
"WebSearch"
]
}
}

4
.gitignore vendored
View file

@ -48,3 +48,7 @@ Icon
# --------------- # ---------------
/site/config/.license /site/config/.license
# Guide d'intégration (contient des informations sensibles)
# ---------------
GUIDE-INTEGRATION-MONDIAL-RELAY.md

View file

@ -63,3 +63,12 @@
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }
} }
.section__product {
.details {
> p,
> ul {
margin-bottom: 1rem;
}
}
}

View file

@ -475,6 +475,11 @@ main {
margin-bottom: 0.5em; margin-bottom: 0.5em;
} }
.section__product .details > p,
.section__product .details > ul {
margin-bottom: 1rem;
}
@keyframes add-border { @keyframes add-border {
from { from {
border-bottom-color: transparent; border-bottom-color: transparent;

File diff suppressed because one or more lines are too long

View file

@ -14,7 +14,7 @@ Description: T-shirt de soutien à Index, 100% coton
---- ----
Details: <p>item: 100% cotton - item: Lorem ipsum dolor sit amet</p> Details: <p>T-shirt en coton organique avec impression sérigraphique.<br>Marquage sur la face avant : logo « INDEX » de 10 cm de large.</p><ul><li><p>100 % coton biologique</p></li><li><p>Grammage : 180 g/m²</p></li><li><p>Jersey simple au toucher très doux</p></li><li><p>Excellente tenue dans le temps</p></li><li><p>Bande de propreté intérieure au col</p></li><li><p>Surpiqûres doubles en bas de manches et en bas de corps</p></li></ul><p>Envoi uniquement via Mondial Relay vers la France, la Belgique et la Suisse.</p>
---- ----

View file

@ -34,8 +34,9 @@ tabs:
translate: false translate: false
width: 1/4 width: 1/4
description: description:
label: Description label: Description panier
type: writer type: writer
help: Visible dans le panier seulement.
details: details:
label: label:
en: Details en: Details

View file

@ -14,7 +14,7 @@
<div class="details"> <div class="details">
<?php if($page->details()->isNotEmpty()): ?> <?php if($page->details()->isNotEmpty()): ?>
<?= $page->details()->toBlocks() ?> <?= $page->details()->kt() ?>
<?php endif ?> <?php endif ?>
</div> </div>