Skip to content

Commit 486d06d

Browse files
maradwan26sangeethababu9223heloiselui
authored
fix(fluid-form): in modal spacing (#22266)
Co-authored-by: Sangeetha Babu <sangeetha9223@gmail.com> Co-authored-by: Heloise Lui <71858203+heloiselui@users.noreply.github.com>
1 parent 054231e commit 486d06d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/styles/scss/components/modal/_modal.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// Copyright IBM Corp. 2016, 2025
2+
// Copyright IBM Corp. 2016, 2026
33
//
44
// This source code is licensed under the Apache-2.0 license found in the
55
// LICENSE file in the root directory of this source tree.
@@ -152,7 +152,7 @@
152152

153153
// fluid form in modal
154154
.#{$prefix}--modal-content .#{$prefix}--form--fluid {
155-
margin-inline: -$spacing-05 - $spacing-05;
155+
margin-inline: -$spacing-03 - $spacing-03;
156156
}
157157

158158
// TODO: remove .#{$prefix}--modal-content__regular-content in v11 since hasForm has been deprecated

packages/web-components/src/components/fluid-form/fluid-form.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ $css--plex: true !default;
1919
--cds-field: var(--cds-field-01);
2020

2121
.#{$prefix}--form--fluid {
22-
margin-inline: -$spacing-05 - $spacing-05;
22+
margin-inline: -$spacing-03 - $spacing-03;
2323
}
2424
}

0 commit comments

Comments
 (0)