Skip to content

Commit 9fd13ea

Browse files
committed
fix(TimePicker): remove the border in the last roll
1 parent 6ed395e commit 9fd13ea

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scss/_time-picker.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,14 +236,17 @@
236236
.time-picker-roll-col {
237237
height: calc(8 * 32px); // stylelint-disable-line
238238
overflow: scroll;
239-
border-right: var(--#{$prefix}time-picker-roll-col-border-width) solid var(--#{$prefix}time-picker-roll-col-border-color);
240239

241240
-ms-overflow-style: none; /* Internet Explorer 10+ */
242241
scrollbar-width: none; /* Firefox */
243242

244243
&::-webkit-scrollbar {
245244
display: none; /* Safari and Chrome */
246245
}
246+
247+
&:not(:last-child) {
248+
border-right: var(--#{$prefix}time-picker-roll-col-border-width) solid var(--#{$prefix}time-picker-roll-col-border-color);
249+
}
247250
}
248251

249252
.time-picker-roll-cell {

0 commit comments

Comments
 (0)