Skip to content
This repository was archived by the owner on Jul 28, 2025. It is now read-only.

Commit 0808554

Browse files
committed
calendar css
1 parent 38e712e commit 0808554

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

styles.css

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");
2-
/*****************
3-
* Plugin variables
4-
******************/
5-
body {
6-
--react-datepicker-navigation-height: 24px;
7-
--react-datepicker-navigation-width: 24px;
8-
}
91
/*****************
102
* Base
113
******************/
@@ -798,6 +790,16 @@ div.database-plugin__checkbox {
798790
/*************************
799791
* React-datepicker styles
800792
**************************/
793+
.react-datepicker {
794+
--react-datepicker-navigation-height: 24px;
795+
--react-datepicker-navigation-width: 24px;
796+
}
797+
798+
.react-datepicker button {
799+
max-width: var(--react-datepicker-navigation-width);
800+
max-height: var(--react-datepicker-navigation-height);
801+
}
802+
801803
.react-datepicker__year-read-view--down-arrow,
802804
.react-datepicker__month-read-view--down-arrow,
803805
.react-datepicker__month-year-read-view--down-arrow,
@@ -990,6 +992,8 @@ div.database-plugin__checkbox {
990992
border-top-left-radius: 0.3rem;
991993
padding: 8px 0;
992994
position: relative;
995+
height: auto;
996+
width: auto;
993997
}
994998

995999
.react-datepicker__header--time {

0 commit comments

Comments
 (0)