Changes for page Public Web Site

Last modified by Agnease on 2026/06/24 15:34

From version 24.10
edited by Agnease
on 2026/06/24 14:41
Change comment: There is no comment for this version
To version 24.2
edited by Agnease
on 2026/06/24 14:25
Change comment: There is no comment for this version

Summary

Details

XWiki.StyleSheetExtension[0]
code
... ... @@ -1352,7 +1352,7 @@
1352 1352  
1353 1353  .product-gallery-caption {
1354 1354   max-width: 820px;
1355 - margin: 12px auto 0;
1355 + margin: 28px auto 12px;
1356 1356   color: @muted;
1357 1357   font-size: 14px;
1358 1358   line-height: 1.5;
... ... @@ -1359,12 +1359,23 @@
1359 1359   text-align: center;
1360 1360  }
1361 1361  
1362 -/* Keep the default XWiki gallery style.
1363 - Only add spacing before it and center it. */
1362 +/* Keep the default XWiki gallery behavior.
1363 + Only center it and make its corners match the product cards. */
1364 1364  .gallery.xGallery {
1365 - margin-top: 25px auto;
1365 + float: none;
1366 + display: block;
1367 + margin-left: auto !important;
1368 + margin-right: auto !important;
1369 + border-radius: @radius;
1370 + overflow: hidden;
1366 1366  }
1367 1367  
1373 +.gallery.xGallery .galleria-container,
1374 +.gallery.xGallery .galleria-stage,
1375 +.gallery.xGallery img {
1376 + border-radius: @radius;
1377 +}
1378 +
1368 1368  .product-section-muted {
1369 1369   background:
1370 1370   radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 65%);
... ... @@ -1468,12 +1468,8 @@
1468 1468   }
1469 1469   }
1470 1470  
1471 - .gallery.xGallery {
1472 - margin-top: 22px !important;
1473 - }
1474 -
1475 1475   .product-gallery-caption {
1476 - margin-top: 10px;
1483 + margin-top: 22px;
1477 1477   padding: 0 14px;
1478 1478   }
1479 1479