Skip to content

Commit 0c15221

Browse files
LFDanLuktabors
andauthored
Fix specificity so Form styles override Field styles in positionSide (#4658)
fixes issue where label position side Form didnt apply overrides to Picker: https://www.chromatic.com/test?appId=5f0dd5ad2b5fc10022a2e320&id=6487930b6a40c2f81f476e3a Co-authored-by: Kyle Taborski <[email protected]>
1 parent d431752 commit 0c15221

File tree

1 file changed

+1
-1
lines changed
  • packages/@adobe/spectrum-css-temp/components/fieldlabel

1 file changed

+1
-1
lines changed

packages/@adobe/spectrum-css-temp/components/fieldlabel/index.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ governing permissions and limitations under the License.
148148
.spectrum-Form {
149149
/* With labelPosition=side, we override field layout to use a CSS table
150150
* so that all the labels and fields line up automatically. */
151-
&:where(.spectrum-Form--positionSide) {
151+
&.spectrum-Form--positionSide {
152152
display: table;
153153
border-collapse: separate;
154154
border-spacing: var(--spectrum-tableform-border-spacing);

0 commit comments

Comments
 (0)