Skip to content

Commit 25c8392

Browse files
committed
chore: update changelog to include fix for gallery gap offset issue
1 parent 194c1ee commit 25c8392

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

packages/modules/data-widgets/src/themesource/datawidgets/web/_gallery-design-properties.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
left: 0;
4444
right: 0;
4545
border-bottom: 1px solid var(--grid-border-color, $grid-border-color);
46-
margin-top: calc(var(--spacing-small, $spacing-small) / 2);
46+
margin-top: calc(var(--gallery-gap) / 2 - 1px);
4747
}
4848
}
4949
}
@@ -70,27 +70,31 @@
7070
// Grid spacing none
7171
.widget-gallery.widget-gallery-gridgap-none {
7272
.widget-gallery-items {
73+
--gallery-gap: 0px;
7374
gap: 0;
7475
}
7576
}
7677

7778
// Grid spacing small
7879
.widget-gallery.widget-gallery-gridgap-small {
7980
.widget-gallery-items {
81+
--gallery-gap: var(--spacing-small, $dg-spacing-small);
8082
gap: var(--spacing-small, $spacing-small);
8183
}
8284
}
8385

8486
// Grid spacing medium
8587
.widget-gallery.widget-gallery-gridgap-medium {
8688
.widget-gallery-items {
89+
--gallery-gap: var(--spacing-medium, $dg-spacing-medium);
8790
gap: var(--spacing-medium, $spacing-medium);
8891
}
8992
}
9093

9194
// Grid spacing large
9295
.widget-gallery.widget-gallery-gridgap-large {
9396
.widget-gallery-items {
97+
--gallery-gap: var(--spacing-large, $dg-spacing-large);
9498
gap: var(--spacing-large, $spacing-large);
9599
}
96100
}

packages/pluggableWidgets/gallery-web/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66

77
## [Unreleased]
88

9+
### Fixed
10+
11+
- We fixed an issue where setting the gallery gap to 0 caused an offset, which made the bottom border of items to dissapear.
12+
913
## [3.6.1] - 2025-10-14
1014

1115
### Fixed

0 commit comments

Comments
 (0)