Skip to content

Commit a29deef

Browse files
committed
Modify style of agenda calendar's scrollView
1 parent c293f63 commit a29deef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/agenda/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,6 @@ export default class Agenda extends Component<AgendaProps, State> {
466466
const scrollPadStyle = {
467467
height: KNOB_HEIGHT,
468468
top: scrollPadPosition,
469-
left: (this.viewWidth - 80) / 2
470469
};
471470

472471
return (

src/agenda/style.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ export default function styleConstructor(theme: Theme = {}) {
4949
},
5050
scrollPadStyle: {
5151
position: 'absolute',
52-
width: 80
52+
width: '100%',
53+
alignSelf: 'center'
5354
},
5455
// @ts-expect-error
5556
...(theme['stylesheet.agenda.main'] || {})

0 commit comments

Comments
 (0)