I would like to have square tiles in my react calendar. Currently width is calculated based on width of the whole calendar and I would like my height to be the same.
Html
<button class="react-calendar__tile react-calendar__tile--active react-calendar__tile--range react-calendar__tile--rangeStart react-calendar__tile--rangeEnd react-calendar__tile--rangeBothEnds react-calendar__month-view__days__day" type="button" style="flex: 0 0 14.2857%; overflow: hidden;">
<abbr aria-label="July 14, 2022">14</abbr>
</button>
I have tried this
.booking-calendar .react-calendar__tile {
flex: 0 0 14.2857%;
overflow: hidden;
}
.booking-calendar .react-calendar__tile--active abbr {
outline: 2px solid #444444;
box-sizing: border-box;
width: 100%;
height: 100%;
border-radius: 40px;
font-weight: 700;
}
.booking-calendar .react-calendar__month-view__days__day abbr {
padding: 10px;
border-radius: 40px;
display: inline-block;
vertical-align: middle;
}