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,16 +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 - float: none !important;1365 + float: none; 1366 1366 display: block; 1367 - margin-top: 26px !important; 1368 1368 margin-left: auto !important; 1369 1369 margin-right: auto !important; 1369 + border-radius: @radius; 1370 + overflow: hidden; 1370 1370 } 1371 1371 1373 +.gallery.xGallery .galleria-container, 1374 +.gallery.xGallery .galleria-stage, 1375 +.gallery.xGallery img { 1376 + border-radius: @radius; 1377 +} 1378 + 1372 1372 .product-section-muted { 1373 1373 background: 1374 1374 radial-gradient(42rem 16rem at 50% 0%, @brand-bg 0%, transparent 65%); ... ... @@ -1472,12 +1472,8 @@ 1472 1472 } 1473 1473 } 1474 1474 1475 - .gallery.xGallery { 1476 - margin-top: 22px !important; 1477 - } 1478 - 1479 1479 .product-gallery-caption { 1480 - margin-top: 10px;1483 + margin-top: 22px; 1481 1481 padding: 0 14px; 1482 1482 } 1483 1483