Changes for page Public Web Site
Last modified by Agnease on 2026/06/24 15:34
Summary
-
Objects (1 modified, 0 added, 0 removed)
Details
- XWiki.StyleSheetExtension[0]
-
- code
-
... ... @@ -1352,7 +1352,7 @@ 1352 1352 1353 1353 .product-gallery-caption { 1354 1354 max-width: 820px; 1355 - margin: 12px auto0;1355 + margin: 28px auto 12px; 1356 1356 color: @muted; 1357 1357 font-size: 14px; 1358 1358 line-height: 1.5; ... ... @@ -1359,14 +1359,23 @@ 1359 1359 text-align: center; 1360 1360 } 1361 1361 1362 -/* Keep the default XWiki gallery style.1363 - Only add spacing beforeit andcenterit. */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: 26px; 1365 + float: none; 1366 + display: block; 1366 1366 margin-left: auto !important; 1367 1367 margin-right: auto !important; 1369 + border-radius: @radius; 1370 + overflow: hidden; 1368 1368 } 1369 1369 1373 +.gallery.xGallery .galleria-container, 1374 +.gallery.xGallery .galleria-stage, 1375 +.gallery.xGallery img { 1376 + border-radius: @radius; 1377 +} 1378 + 1370 1370 .product-section-muted { 1371 1371 background: 1372 1372 radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 65%); ... ... @@ -1470,12 +1470,8 @@ 1470 1470 } 1471 1471 } 1472 1472 1473 - .gallery.xGallery { 1474 - margin-top: 22px !important; 1475 - } 1476 - 1477 1477 .product-gallery-caption { 1478 - margin-top: 10px;1483 + margin-top: 22px; 1479 1479 padding: 0 14px; 1480 1480 } 1481 1481