Skip to content

Commit 08f33b5

Browse files
committed
Merge tag 'v2.26.2' into release/opensource
2 parents 77deea1 + 6821650 commit 08f33b5

File tree

7 files changed

+31
-11
lines changed

7 files changed

+31
-11
lines changed

RELEASENOTES.general.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<!-- Release notes authoring guidelines: http://keepachangelog.com/ -->
22
<!-- On release, add general notes here. In time the legacy release notes will be add to this -->
33

4+
## 2.26.2 - February 6, 2025
5+
46
## 2.26.1 - January 30, 2025
57

68
- Update icons to `v10.11.2`

RELEASENOTES.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
<!-- Release notes authoring guidelines: http://keepachangelog.com/ -->
22
<!-- !!! THIS FILE IS AUTO-GENERATED !!! DO NOT EDIT THIS FILE MANUALLY !!! -->
33

4+
## Release 2.26.2 - February 6, 2025
5+
6+
## Component Blueprints
7+
### [Form Element](https://www.lightningdesignsystem.com/components/form-element)
8+
#### Fixed
9+
- Move clear fix from 2.26.1 to target specific selectors, use clearfix mixin to avoid more edge cases (e.g. background colors)
10+
411
## Release 2.26.1 - January 30, 2025
512

613
- Update icons to `v10.11.2`

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"CSS"
99
],
1010
"homepage": "https://lightningdesignsystem.com",
11-
"version": "2.26.1",
11+
"version": "2.26.2",
1212
"author": "Salesforce",
1313
"bugs": {
1414
"url": "https://github.com/salesforce-ux/design-system/issues"

ui/_config.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
///
1010
/// @type String
1111
/// @access private
12-
$app-version: "2.26.1";
12+
$app-version: "2.26.2";
1313

1414
/// Debug mode (uncomment to activate)
1515
/// Turn on to output deprecation warnings during development

ui/components/form-element/RELEASENOTES.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@
44

55
<!-- ## [Unreleased] -->
66

7+
## 2.26.2
8+
9+
### Fixed
10+
11+
- Move clear fix from 2.26.1 to target specific selectors, use clearfix mixin to avoid more edge cases (e.g. background colors)
12+
713
## 2.26.1
814

915
### Fixed
@@ -13,6 +19,7 @@
1319
## 2.26.0
1420

1521
### Fixed
22+
1623
- Fixed input dropdown visibility issue in ff and safari caused by container query in a previous fix
1724
- Changed the alignment of address form element. This fixes the alignment issue in cases where help text is present.
1825
- Record form .slds-form__item width is now fluid when parent container is less than 280px

ui/components/form-element/horizontal/_index.scss

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,6 @@
5858
}
5959

6060
@include mq-medium-min {
61-
62-
// Ensure the form element is cleared to reset the float of the label
63-
// Note: Avoid a bug where longer length labels may overlap with form element below
64-
.slds-form-element.slds-form-element_horizontal {
65-
clear: both;
66-
}
67-
6861
// Handle label - default behavior
6962
.slds-form-element__label {
7063
float: left;
@@ -146,3 +139,14 @@
146139
margin-left: 33%;
147140
}
148141
}
142+
143+
// Bugfix: Avoid a bug where longer length labels may overlap with form element below
144+
// - Ensure the form element is cleared to reset the `float: left` of the label within the form element
145+
// - Cannot use `&.slds-form-element` in the main block above, because of `.slds-form_horizontal .slds-form-element,`
146+
.slds-form-element_horizontal.slds-form-element,
147+
.slds-form_horizontal .slds-form-element,
148+
.slds-form_stacked .slds-form-element_horizontal.slds-form-element {
149+
@include mq-medium-min {
150+
@include clearfix;
151+
}
152+
}

0 commit comments

Comments
 (0)