8000 fix(demo, virtualRepat): make demos responsive. · code-tree/material@13cfa6e · GitHub
[go: up one dir, main page]

Skip to content

Commit 13cfa6e

Browse files
devversionThomasBurleson
authored andcommitted
fix(demo, virtualRepat): make demos responsive.
* The demos had currently fixed widths and that causes overflow issues on mobile devices. Fixes angular#7333. Closes angular#7749
1 parent 2c40367 commit 13cfa6e

File tree

5 files changed

+12
-6
lines changed

5 files changed

+12
-6
lines changed

src/components/virtualRepeat/demoDeferredLoading/style.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#vertical-container {
22
height: 292px;
3-
width: 400px;
3+
width: 100%;
4+
max-width: 400px;
45
}
56

67
.repeated-item {

src/components/virtualRepeat/demoHorizontalUsage/style.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#horizontal-container {
22
height: 100px;
3-
width: 830px;
3+
width: 100%;
4+
max-width: 830px;
45
}
56

67
.repeated-item {

src/components/virtualRepeat/demoInfiniteScroll/style.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#vertical-container {
22
height: 292px;
3-
width: 400px;
3+
width: 100%;
4+
max-width: 400px;
45
}
56

67
.repeated-item {

src/components/virtualRepeat/demoScrollTo/style.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
.wrapper {
2-
width: 400px;
2+
width: 100%;
3+
max-width: 400px;
34
}
45

56
#vertical-container {
67
height: 292px;
7-
width: 400px;
8+
width: 100%;
9+
max-width: 400px;
810
}
911

1012
#vertical-container .repeated-item {

src/components/virtualRepeat/demoVerticalUsage/style.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#vertical-container {
22
height: 292px;
3-
width: 400px;
3+
width: 100%;
4+
max-width: 400px;
45
}
56

67
.repeated-item {

0 commit comments

Comments
 (0)
0