fix(calendar): make button text also clickable
This commit is contained in:
parent
c7b0709e98
commit
5a750408eb
2 changed files with 9 additions and 0 deletions
5
.changeset/great-cows-rest.md
Normal file
5
.changeset/great-cows-rest.md
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'@lion/calendar': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Make button text clickable by setting pointer-events to none
|
||||||
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue