Skip to content

Commit 2a778dc

Browse files
committed
card snaps
1 parent 64fdc1b commit 2a778dc

2 files changed

Lines changed: 20 additions & 20 deletions

File tree

packages/react-cards/src/components/Card/CardItem/__snapshots__/CardItem.test.tsx.snap

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ exports[`Card Item renders correctly 1`] = `
3131
& > *:not(.ms-StackItem) {
3232
flex-shrink: 1;
3333
}
34-
@media screen and (-ms-high-contrast: active), @media screen and (forced-colors: active){& {
34+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){& {
3535
box-shadow: 0 1.6px 3.6px 0 Highlight, 0 0.3px 0.9px 0 Highlight;
3636
}
3737
onKeyDown={[Function]}
@@ -98,7 +98,7 @@ exports[`Card Item renders correctly when filling up the margins while being the
9898
& > *:not(.ms-StackItem) {
9999
flex-shrink: 1;
100100
}
101-
@media screen and (-ms-high-contrast: active), @media screen and (forced-colors: active){& {
101+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){& {
102102
box-shadow: 0 1.6px 3.6px 0 Highlight, 0 0.3px 0.9px 0 Highlight;
103103
}
104104
onKeyDown={[Function]}
@@ -191,7 +191,7 @@ exports[`Card Item renders correctly when filling up the margins while being the
191191
& > *:not(.ms-StackItem) {
192192
flex-shrink: 1;
193193
}
194-
@media screen and (-ms-high-contrast: active), @media screen and (forced-colors: active){& {
194+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){& {
195195
box-shadow: 0 1.6px 3.6px 0 Highlight, 0 0.3px 0.9px 0 Highlight;
196196
}
197197
onKeyDown={[Function]}
@@ -284,7 +284,7 @@ exports[`Card Item renders correctly when filling up the margins while being the
284284
& > *:not(.ms-StackItem) {
285285
flex-shrink: 1;
286286
}
287-
@media screen and (-ms-high-contrast: active), @media screen and (forced-colors: active){& {
287+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){& {
288288
box-shadow: 0 1.6px 3.6px 0 Highlight, 0 0.3px 0.9px 0 Highlight;
289289
}
290290
onKeyDown={[Function]}
@@ -377,7 +377,7 @@ exports[`Card Item renders correctly when filling up the margins while being the
377377
& > *:not(.ms-StackItem) {
378378
flex-shrink: 1;
379379
}
380-
@media screen and (-ms-high-contrast: active), @media screen and (forced-colors: active){& {
380+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){& {
381381
box-shadow: 0 1.6px 3.6px 0 Highlight, 0 0.3px 0.9px 0 Highlight;
382382
}
383383
onKeyDown={[Function]}
@@ -470,7 +470,7 @@ exports[`Card Item renders correctly when filling up the margins while being the
470470
& > *:not(.ms-StackItem) {
471471
flex-shrink: 1;
472472
}
473-
@media screen and (-ms-high-contrast: active), @media screen and (forced-colors: active){& {
473+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){& {
474474
box-shadow: 0 1.6px 3.6px 0 Highlight, 0 0.3px 0.9px 0 Highlight;
475475
}
476476
onKeyDown={[Function]}
@@ -589,7 +589,7 @@ exports[`Card Item renders correctly when filling up the margins while being the
589589
& > *:not(.ms-StackItem) {
590590
flex-shrink: 1;
591591
}
592-
@media screen and (-ms-high-contrast: active), @media screen and (forced-colors: active){& {
592+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){& {
593593
box-shadow: 0 1.6px 3.6px 0 Highlight, 0 0.3px 0.9px 0 Highlight;
594594
}
595595
onKeyDown={[Function]}
@@ -708,7 +708,7 @@ exports[`Card Item renders correctly when filling up the margins while being the
708708
& > *:not(.ms-StackItem) {
709709
flex-shrink: 1;
710710
}
711-
@media screen and (-ms-high-contrast: active), @media screen and (forced-colors: active){& {
711+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){& {
712712
box-shadow: 0 1.6px 3.6px 0 Highlight, 0 0.3px 0.9px 0 Highlight;
713713
}
714714
onKeyDown={[Function]}
@@ -775,7 +775,7 @@ exports[`Card Item renders correctly when filling up the margins while being the
775775
& > *:not(.ms-StackItem) {
776776
flex-shrink: 1;
777777
}
778-
@media screen and (-ms-high-contrast: active), @media screen and (forced-colors: active){& {
778+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){& {
779779
box-shadow: 0 1.6px 3.6px 0 Highlight, 0 0.3px 0.9px 0 Highlight;
780780
}
781781
onKeyDown={[Function]}
@@ -842,7 +842,7 @@ exports[`Card Item renders correctly when having tokens passed to it 1`] = `
842842
& > *:not(.ms-StackItem) {
843843
flex-shrink: 1;
844844
}
845-
@media screen and (-ms-high-contrast: active), @media screen and (forced-colors: active){& {
845+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){& {
846846
box-shadow: 0 1.6px 3.6px 0 Highlight, 0 0.3px 0.9px 0 Highlight;
847847
}
848848
onKeyDown={[Function]}

packages/react-cards/src/components/Card/CardSection/__snapshots__/CardSection.test.tsx.snap

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ exports[`Card Section renders correctly 1`] = `
3131
& > *:not(.ms-StackItem) {
3232
flex-shrink: 1;
3333
}
34-
@media screen and (-ms-high-contrast: active), @media screen and (forced-colors: active){& {
34+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){& {
3535
box-shadow: 0 1.6px 3.6px 0 Highlight, 0 0.3px 0.9px 0 Highlight;
3636
}
3737
onKeyDown={[Function]}
@@ -109,7 +109,7 @@ exports[`Card Section renders correctly when filling up the margins while being
109109
& > *:not(.ms-StackItem) {
110110
flex-shrink: 1;
111111
}
112-
@media screen and (-ms-high-contrast: active), @media screen and (forced-colors: active){& {
112+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){& {
113113
box-shadow: 0 1.6px 3.6px 0 Highlight, 0 0.3px 0.9px 0 Highlight;
114114
}
115115
onKeyDown={[Function]}
@@ -224,7 +224,7 @@ exports[`Card Section renders correctly when filling up the margins while being
224224
& > *:not(.ms-StackItem) {
225225
flex-shrink: 1;
226226
}
227-
@media screen and (-ms-high-contrast: active), @media screen and (forced-colors: active){& {
227+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){& {
228228
box-shadow: 0 1.6px 3.6px 0 Highlight, 0 0.3px 0.9px 0 Highlight;
229229
}
230230
onKeyDown={[Function]}
@@ -339,7 +339,7 @@ exports[`Card Section renders correctly when filling up the margins while being
339339
& > *:not(.ms-StackItem) {
340340
flex-shrink: 1;
341341
}
342-
@media screen and (-ms-high-contrast: active), @media screen and (forced-colors: active){& {
342+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){& {
343343
box-shadow: 0 1.6px 3.6px 0 Highlight, 0 0.3px 0.9px 0 Highlight;
344344
}
345345
onKeyDown={[Function]}
@@ -454,7 +454,7 @@ exports[`Card Section renders correctly when filling up the margins while being
454454
& > *:not(.ms-StackItem) {
455455
flex-shrink: 1;
456456
}
457-
@media screen and (-ms-high-contrast: active), @media screen and (forced-colors: active){& {
457+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){& {
458458
box-shadow: 0 1.6px 3.6px 0 Highlight, 0 0.3px 0.9px 0 Highlight;
459459
}
460460
onKeyDown={[Function]}
@@ -569,7 +569,7 @@ exports[`Card Section renders correctly when filling up the margins while being
569569
& > *:not(.ms-StackItem) {
570570
flex-shrink: 1;
571571
}
572-
@media screen and (-ms-high-contrast: active), @media screen and (forced-colors: active){& {
572+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){& {
573573
box-shadow: 0 1.6px 3.6px 0 Highlight, 0 0.3px 0.9px 0 Highlight;
574574
}
575575
onKeyDown={[Function]}
@@ -721,7 +721,7 @@ exports[`Card Section renders correctly when filling up the margins while being
721721
& > *:not(.ms-StackItem) {
722722
flex-shrink: 1;
723723
}
724-
@media screen and (-ms-high-contrast: active), @media screen and (forced-colors: active){& {
724+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){& {
725725
box-shadow: 0 1.6px 3.6px 0 Highlight, 0 0.3px 0.9px 0 Highlight;
726726
}
727727
onKeyDown={[Function]}
@@ -873,7 +873,7 @@ exports[`Card Section renders correctly when filling up the margins while being
873873
& > *:not(.ms-StackItem) {
874874
flex-shrink: 1;
875875
}
876-
@media screen and (-ms-high-contrast: active), @media screen and (forced-colors: active){& {
876+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){& {
877877
box-shadow: 0 1.6px 3.6px 0 Highlight, 0 0.3px 0.9px 0 Highlight;
878878
}
879879
onKeyDown={[Function]}
@@ -951,7 +951,7 @@ exports[`Card Section renders correctly when filling up the margins while being
951951
& > *:not(.ms-StackItem) {
952952
flex-shrink: 1;
953953
}
954-
@media screen and (-ms-high-contrast: active), @media screen and (forced-colors: active){& {
954+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){& {
955955
box-shadow: 0 1.6px 3.6px 0 Highlight, 0 0.3px 0.9px 0 Highlight;
956956
}
957957
onKeyDown={[Function]}
@@ -1029,7 +1029,7 @@ exports[`Card Section renders correctly when having tokens passed to it 1`] = `
10291029
& > *:not(.ms-StackItem) {
10301030
flex-shrink: 1;
10311031
}
1032-
@media screen and (-ms-high-contrast: active), @media screen and (forced-colors: active){& {
1032+
@media screen and (-ms-high-contrast: active), screen and (forced-colors: active){& {
10331033
box-shadow: 0 1.6px 3.6px 0 Highlight, 0 0.3px 0.9px 0 Highlight;
10341034
}
10351035
onKeyDown={[Function]}

0 commit comments

Comments
 (0)