Skip to content

Commit

Permalink
Fix mobile/responsive absolute tab CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen committed Apr 23, 2024
1 parent e33f59f commit fdfceb3
Showing 1 changed file with 4 additions and 7 deletions.
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 fdfceb3

Please sign in to comment.