-
Is there an easy way to change layout so that nav arrows be in between the month title? |
Beta Was this translation helpful? Give feedback.
Answered by
gpbl
Aug 16, 2022
Replies: 1 comment
-
@MariuzM use CSS to change the position of the navigation buttons: https://codesandbox.io/s/react-daypicker-navigation-buttons-xkzgvl?file=/src/styles.css .rdp-caption {
display: flex;
position: relative;
justify-content: center;
}
.rdp-nav {
white-space: nowrap;
position: absolute;
width: 100%;
display: flex;
justify-content: space-between;
} |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
MariuzM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@MariuzM use CSS to change the position of the navigation buttons:
https://codesandbox.io/s/react-daypicker-navigation-buttons-xkzgvl?file=/src/styles.css