fix(calendar): make button text also clickable

This commit is contained in:
qa46hx 2020-08-27 11:11:53 +02:00 committed by Thomas Allmer
parent c7b0709e98
commit 5a750408eb
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,5 @@
---
'@lion/calendar': patch
---
Make button text clickable by setting pointer-events to none

View file

@ -56,6 +56,10 @@ export const calendarStyle = css`
min-height: 40px; min-height: 40px;
} }
.calendar__day-button__text {
pointer-events: none;
}
.calendar__day-button[today] { .calendar__day-button[today] {
text-decoration: underline; text-decoration: underline;
} }