Skip to content

Commit

Permalink
[EuiSuperDatePicker] Fix absolute tab for small mobile screens (#7708)
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen authored Apr 24, 2024
1 parent e33f59f commit 13821d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
3 changes: 3 additions & 0 deletions changelogs/upcoming/7708.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**Bug fixes**

- Fixed a visual bug with `EuiSuperDatePicker`'s absolute tab on small mobile screens
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
.euiDatePopoverContent .react-datepicker {
width: $euiFormMaxWidth;
max-width: 100%;

@include euiBreakpoint('xs') {
width: $euiDatePickerCalendarWidth;
}
}

.euiDatePopoverContent__padded {
Expand All @@ -11,10 +15,3 @@
.euiDatePopoverContent__padded--large {
padding: $euiSize;
}

@include euiBreakpoint('xs') {
.euiDatePopoverContent {
// Small screens drop the time selector
width: $euiDatePickerCalendarWidth;
}
}

0 comments on commit 13821d9

Please sign in to comment.