Skip to content

Commit

Permalink
Fix/calendar v1 css fixes (#244)
Browse files Browse the repository at this point in the history
* style: css fixes

* chore: remove unused var

* style: css not working as expected

* revert

* chore: remove unused import
  • Loading branch information
paanSinghCoder authored Feb 7, 2025
1 parent 237d0a6 commit 08d46d3
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions packages/raystack/v1/components/calendar/calendar.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
font-weight: 500;
color: var(--rs-color-text-base-primary);
user-select: none;
font-family: var(--rs-font-body);
font-style: normal;
}

Expand Down Expand Up @@ -112,6 +111,16 @@
}
}

.range_middle:first-of-type {
border-top-left-radius: var(--rs-radius-5);
border-bottom-left-radius: var(--rs-radius-5);
}

.range_middle:last-of-type {
border-top-right-radius: var(--rs-radius-5);
border-bottom-right-radius: var(--rs-radius-5);
}

.range_start:not(.range_end) {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
Expand Down Expand Up @@ -172,8 +181,8 @@
}

.calendarPopover {
padding: 0;
border: none;
padding: 0 !important;
border: none !important;
min-width: max-content;
width: fit-content;
max-width: none !important;
Expand Down Expand Up @@ -241,4 +250,4 @@
font-weight: inherit;
border-radius: inherit;
position: relative;
}
}

0 comments on commit 08d46d3

Please sign in to comment.