Skip to content

Commit b00b4a0

Browse files
shenjunjiankagol
authored andcommitted
fix(site): add overflow for datepicker's demo on small screen (#2626)
1 parent 4ea026c commit b00b4a0

File tree

1 file changed

+6
-0
lines changed
  • examples/sites/src/views/components

1 file changed

+6
-0
lines changed

examples/sites/src/views/components/demo.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,12 @@ export default defineComponent({
310310
}
311311
}
312312
313+
@media screen and (max-width: 640px) {
314+
.pc-demo-container {
315+
overflow: auto;
316+
}
317+
}
318+
313319
.pc-demo-container {
314320
display: flex;
315321
flex-direction: column;

0 commit comments

Comments
 (0)