Skip to content
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
9955f11
fix issue with carousel alignment
jimmycook Oct 8, 2025
83a293f
Fix issue with carousel alignment on mobile
xiaogliu Oct 11, 2025
eaf2cbe
optimize mobile left space and the code itself
xiaogliu Oct 13, 2025
411c6f9
Revert "optimize mobile left space and the code itself"
IrinaWei Nov 10, 2025
1b6a74d
Revert "Fix issue with carousel alignment on mobile"
IrinaWei Nov 10, 2025
2c5fc4e
Merge branch 'main' into IRN-6177
IrinaWei Nov 10, 2025
5faabb5
[CLOV-951][BpkButton] Mark BpkButton v1 as deprecated (#4039)
Supremeyh Nov 11, 2025
d82cb99
[CLOV-964][BpkButton] Export legacy props and types (#4044)
Supremeyh Nov 17, 2025
9af966d
[CLOV-30][BpkCheckbox] TS migration for BpkCheckbox (#4040)
IrinaWei Nov 19, 2025
2aca6a5
[CLOV-950] [BpkButton] Migrate BpkButton to BpkButtonV2 (#4048)
Supremeyh Nov 20, 2025
9b59380
Bump glob (#4046)
dependabot[bot] Nov 21, 2025
00bc756
Bump core-js from 3.45.1 to 3.46.0 (#4028)
dependabot[bot] Nov 21, 2025
7434861
[CLOV-19][BpkFieldset] BpkFieldset TS Migration (#4045)
kerrie-wu Nov 24, 2025
ea2bfc7
[GOOSE-559][BpkSwapButton] Override padding alignment set by Safari U…
FireRedNinja Nov 25, 2025
98027b2
fix: allow word wrap anywhere when the autosuggest value is joined by…
gert-janvercauteren Nov 26, 2025
3ec75bf
[CLOV-349][BpkAutosuggest]Fix keyboard up and down blur issue (#4043)
kerrie-wu Nov 26, 2025
72be1bf
Bump js-yaml from 3.14.1 to 3.14.2 (#4047)
dependabot[bot] Dec 1, 2025
b09bee9
Bump the babel group across 1 directory with 2 updates (#4027)
dependabot[bot] Dec 1, 2025
669995a
Bump @skyscanner/eslint-config-skyscanner from 22.5.1 to 22.6.0 (#4026)
dependabot[bot] Dec 1, 2025
daced20
Bump actions/checkout from 5 to 6 (#4051)
dependabot[bot] Dec 2, 2025
7933b7b
Bump the artifacts-actions group with 2 updates (#4025)
dependabot[bot] Dec 2, 2025
d615689
Bump actions/setup-node from 5 to 6 (#4016)
dependabot[bot] Dec 2, 2025
95aa396
Bump webpack from 5.101.2 to 5.103.0 (#4059)
dependabot[bot] Dec 2, 2025
ad315bf
Bump @skyscanner/stylelint-config-skyscanner from 13.1.0 to 14.2.0 (#…
dependabot[bot] Dec 4, 2025
96ab774
Bump the storybook group across 1 directory with 5 updates (#4058)
dependabot[bot] Dec 5, 2025
13e2f63
Bump jws from 3.2.2 to 3.2.3 (#4066)
dependabot[bot] Dec 8, 2025
e8515c4
[CLOV-907][BpkButton] Update BpkButton link and linkOnDark type style…
Supremeyh Dec 16, 2025
8b34b0d
[CLOV-958][BpkButton] Remove BpkButton (v1) code and alias BpkButton …
xiaogliu Dec 16, 2025
4679378
[CLOV-907][BpkButton] Fix BpkButton linkOnDark alignment (#4086)
Supremeyh Dec 16, 2025
91162c4
Bump lint-staged from 16.1.5 to 16.2.7 (#4071)
dependabot[bot] Dec 17, 2025
301d372
Bump glob from 11.1.0 to 13.0.0 (#4072)
dependabot[bot] Dec 17, 2025
58090a6
[BpkLink] Migrate component to TypeScript (#4063)
Copilot Dec 18, 2025
307596d
bump bpk-foundations-web to 24.0.0 (#4092)
floracheng292 Dec 19, 2025
4981771
feat[BpkPrice]: added variant size medium (#4089)
nicdaCosta Dec 22, 2025
ad438c2
[CLOV-657][BpkLink] Refactor BpkLink with add as prop (#4094)
Supremeyh Dec 24, 2025
60e5dbb
[CLOV-909][BpkLink] Mark BpkButtonLink deprecated (#4096)
Supremeyh Dec 24, 2025
1e1b310
[CLOV-957][BpkButton] Replace BpkButtonV2 with BpkButton across codeb…
Supremeyh Dec 24, 2025
929cdc5
[Clov-353][BpkAutosuggest]Export Autosuggest default theme (#4098)
kerrie-wu Dec 31, 2025
0b7a618
Bump storybook from 10.1.2 to 10.1.11 (#4100)
dependabot[bot] Jan 4, 2026
bfc5b53
[BpkCode] Migrate component to TypeScript (#4106)
Copilot Jan 5, 2026
dd7c561
Fix issue with carousel alignment on mobile
xiaogliu Oct 11, 2025
c3cc623
optimize mobile left space and the code itself
xiaogliu Oct 13, 2025
3d27477
Revert "optimize mobile left space and the code itself"
IrinaWei Nov 10, 2025
c80f555
Merge branch 'main' into IRN-6177
jimmycook Jan 6, 2026
0b663f3
Merge branch 'main' into IRN-6177
jimmycook Jan 6, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@
overflow-x: hidden;
box-sizing: border-box;
gap: tokens.bpk-spacing-sm();

// Negative margin to ensure box-shadow of content is not cut off
margin-block: -(tokens.bpk-spacing-lg());
padding-block: tokens.bpk-spacing-lg();
margin-inline: -1 * tokens.bpk-spacing-md();
scroll-snap-stop: always;
scroll-snap-type: x mandatory;
scrollbar-width: none;
Expand Down Expand Up @@ -63,30 +60,32 @@

@include breakpoints.bpk-breakpoint-mobile {
// On mobile, if there is more than one card in the viewport, the last card only shows partially, so subtract 0.8 when do the calculation
flex: 0 0
calc(
(
100% -
(
tokens.bpk-spacing-md() *
(var(--initially-shown-cards, 3) - 1)
)
) /
max(1, (var(--initially-shown-cards, 3) - 0.8))
);

&:first-child {
padding-left: tokens.bpk-spacing-sm();

@include utils.bpk-rtl {
padding-right: tokens.bpk-spacing-sm();
padding-left: tokens.bpk-spacing-md();
}
}
flex-basis: calc(
(
100% -
(
tokens.bpk-spacing-md() *
(var(--initially-shown-cards, 3) - 1)
)
) /
max(1, (var(--initially-shown-cards, 3) - 0.8))
);
}
}
}

&__row {
&__card {
flex-basis: calc(
(
100% -
(tokens.bpk-spacing-sm() * (var(--initially-shown-cards, 3) - 1))
) /
var(--initially-shown-cards, 3)
);
}
}

&__rail {
-webkit-overflow-scrolling: touch;
}
Expand Down
Loading