Skip to content

Commit

Permalink
fix: fix date picker positioning
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptammergard committed Nov 2, 2023
1 parent d93a0a0 commit af82f54
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/five-teachers-switch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@einride/ui-dates": patch
"@einride/ui": patch
---

Fix date picker positioning.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export const DatePickerInput = ({
<Global
styles={css`
.mantine-Popover-dropdown {
position: absolute;
background: ${theme.colors.background.secondaryElevated};
border-radius: ${theme.borderRadii.lg};
padding: ${2 * theme.spacingBase}rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ export const DateRangePickerInput = ({
<Global
styles={css`
.mantine-Popover-dropdown {
position: absolute;
background: ${theme.colors.background.secondaryElevated};
border: none;
border-radius: ${theme.borderRadii.lg};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export const DatePicker = ({
<Global
styles={css`
.mantine-Popover-dropdown {
position: absolute;
background: ${theme.colors.background.secondaryElevated};
border-radius: ${theme.borderRadii.lg};
padding: ${2 * theme.spacingBase}rem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export const DateRangePicker = ({
<Global
styles={css`
.mantine-Popover-dropdown {
position: absolute;
background: ${theme.colors.background.secondaryElevated};
border: none;
border-radius: ${theme.borderRadii.lg};
Expand Down

0 comments on commit af82f54

Please sign in to comment.