Skip to content

Commit

Permalink
chore: update for test
Browse files Browse the repository at this point in the history
  • Loading branch information
HelKyle committed Sep 3, 2022
1 parent 43415f4 commit 78e6817
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/time-picker/panel/SinglePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import {
TWELVE_HOUR_FORMAT,
} from '../../_common/js/time-picker/const';
import { closestLookup } from '../../_common/js/time-picker/utils';
// 仅做演示用 !!! 后面会删
import './panel.less';

import { TdTimePickerProps, TimeRangePickerPartial } from '../type';
import useIsomorphicLayoutEffect from '../../_util/useLayoutEffect';
Expand Down
8 changes: 8 additions & 0 deletions src/time-picker/panel/panel.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
.t-time-picker__panel-body-scroll {
&::before {
height: calc(50% - var(--timePickerPanelOffsetTop, 0)*1px) !important;
}
&::after {
height: calc(50% - var(--timePickerPanelOffsetBottom, 0)*1px) !important;
}
}

0 comments on commit 78e6817

Please sign in to comment.