Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 9e2006c

Browse files
dabengdgutride
authored andcommitted
fix(date and time): Add responsive design code for datetimepicker
1 parent 54bd6dc commit 9e2006c

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

src/less/time-picker.less

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,17 @@
66
content: "Today";
77
}
88
&.timepicker-sbs {
9-
.datepicker, .accordion-toggle {
10-
border-right: 1px solid @color-pf-black-300;
11-
}
12-
.timepicker {
13-
padding-left: 0;
14-
margin-top: 50px;
15-
}
16-
.picker-switch {
17-
width: 50%;
9+
@media (min-width: @screen-md-min) {
10+
.datepicker, .accordion-toggle {
11+
border-right: 1px solid @color-pf-black-300;
12+
}
13+
.timepicker {
14+
padding-left: 0;
15+
margin-top: 50px;
16+
}
17+
.picker-switch {
18+
width: 50%;
19+
}
1820
}
1921
}
2022
a[data-action] {

0 commit comments

Comments
 (0)