Skip to content

Commit a7cbc13

Browse files
committed
docs: responsive for preview samples
1 parent 1e520be commit a7cbc13

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

docs/_templates/layout/preview.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,19 @@
99
}
1010

1111
.sample {
12-
width: calc(50% - 10px);
12+
width: 100%;
1313
overflow: hidden;
1414
box-sizing: border-box;
1515
border: 1px solid #dadada;
1616
border-radius: 4px;
1717
}
1818

19+
@media (min-width: 1100px) {
20+
.sample {
21+
width: calc(50% - 10px);
22+
}
23+
}
24+
1925
.sample-name {
2026
padding: 8px 16px;
2127
border-bottom: 1px solid #dadada;

0 commit comments

Comments
 (0)