Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5ffea29

Browse files
docs(cdk/drag-drop): ensure that examples look good on adev (#31673)
Fixes the following issues with how the drag-drop examples look on adev: * They're using Times New Roman as the font because all the styles are reset. * The handle isn't visible in one of the examples, because its color is reset.
1 parent af585fa commit 5ffea29

File tree

22 files changed

+39
-2
lines changed

22 files changed

+39
-2
lines changed

‎src/components-examples/cdk/drag-drop/cdk-drag-drop-axis-lock/cdk-drag-drop-axis-lock-example.css‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
position: relative;
1515
z-index: 1;
1616
transition: box-shadow 200ms cubic-bezier(0, 0, 0.2, 1);
17+
font-family: sans-serif;
1718
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2),
1819
0 2px 2px 0 rgba(0, 0, 0, 0.14),
1920
0 1px 5px 0 rgba(0, 0, 0, 0.12);

‎src/components-examples/cdk/drag-drop/cdk-drag-drop-boundary/cdk-drag-drop-boundary-example.css‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
box-sizing: border-box;
1717
padding: 10px;
1818
transition: box-shadow 200ms cubic-bezier(0, 0, 0.2, 1);
19+
font-family: sans-serif;
1920
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2),
2021
0 2px 2px 0 rgba(0, 0, 0, 0.14),
2122
0 1px 5px 0 rgba(0, 0, 0, 0.12);

‎src/components-examples/cdk/drag-drop/cdk-drag-drop-connected-sorting-group/cdk-drag-drop-connected-sorting-group-example.css‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
margin: 0 25px 25px 0;
55
display: inline-block;
66
vertical-align: top;
7+
font-family: sans-serif;
78
}
89

910
.example-list {
@@ -27,6 +28,7 @@
2728
cursor: move;
2829
background: white;
2930
font-size: 14px;
31+
font-family: sans-serif;
3032
}
3133

3234
.cdk-drag-preview {

‎src/components-examples/cdk/drag-drop/cdk-drag-drop-connected-sorting/cdk-drag-drop-connected-sorting-example.css‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
margin: 0 25px 25px 0;
55
display: inline-block;
66
vertical-align: top;
7+
font-family: sans-serif;
78
}
89

910
.example-list {
@@ -27,6 +28,7 @@
2728
cursor: move;
2829
background: white;
2930
font-size: 14px;
31+
font-family: sans-serif;
3032
}
3133

3234
.cdk-drag-preview {

‎src/components-examples/cdk/drag-drop/cdk-drag-drop-copy-list/cdk-drag-drop-copy-list-example.css‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
margin: 0 25px 25px 0;
55
display: inline-block;
66
vertical-align: top;
7+
font-family: sans-serif;
78
}
89

910
.example-list {
@@ -27,6 +28,7 @@
2728
cursor: move;
2829
background: white;
2930
font-size: 14px;
31+
font-family: sans-serif;
3032
}
3133

3234
.cdk-drag-preview {

‎src/components-examples/cdk/drag-drop/cdk-drag-drop-custom-placeholder/cdk-drag-drop-custom-placeholder-example.css‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
background: white;
88
border-radius: 4px;
99
overflow: hidden;
10+
font-family: sans-serif;
1011
}
1112

1213
.example-box {
@@ -21,6 +22,7 @@
2122
cursor: move;
2223
background: white;
2324
font-size: 14px;
25+
font-family: sans-serif;
2426
}
2527

2628
.cdk-drag-preview {

‎src/components-examples/cdk/drag-drop/cdk-drag-drop-custom-preview/cdk-drag-drop-custom-preview-example.css‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
background: white;
88
border-radius: 4px;
99
overflow: hidden;
10+
font-family: sans-serif;
1011
}
1112

1213
.example-box {
@@ -21,6 +22,7 @@
2122
cursor: move;
2223
background: white;
2324
font-size: 14px;
25+
font-family: sans-serif;
2426
}
2527

2628
.cdk-drag-preview {

‎src/components-examples/cdk/drag-drop/cdk-drag-drop-delay/cdk-drag-drop-delay-example.css‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
border-radius: 4px;
1313
position: relative;
1414
z-index: 1;
15+
font-family: sans-serif;
1516
transition: box-shadow 200ms cubic-bezier(0, 0, 0.2, 1);
1617
box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2),
1718
0 2px 2px 0 rgba(0, 0, 0, 0.14),

‎src/components-examples/cdk/drag-drop/cdk-drag-drop-disabled-sorting/cdk-drag-drop-disabled-sorting-example.css‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
margin: 0 25px 25px 0;
55
display: inline-block;
66
vertical-align: top;
7+
font-family: sans-serif;
78
}
89

910
.example-list {
@@ -27,6 +28,7 @@
2728
cursor: move;
2829
background: white;
2930
font-size: 14px;
31+
font-family: sans-serif;
3032
}
3133

3234
.cdk-drag-preview {

‎src/components-examples/cdk/drag-drop/cdk-drag-drop-disabled/cdk-drag-drop-disabled-example.css‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
background: white;
88
border-radius: 4px;
99
overflow: hidden;
10+
font-family: sans-serif;
1011
}
1112

1213
.example-box {
@@ -21,6 +22,7 @@
2122
cursor: move;
2223
background: white;
2324
font-size: 14px;
25+
font-family: sans-serif;
2426
}
2527

2628
.example-box.cdk-drag-disabled {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /