fix: Troubleshooter - Vertical scrolling not working on left panel or calendar (Re-opened) (#13243)

* Fix scrolling on calendar

* Fix scrolling on TroubleshooterSidebar

---------

Co-authored-by: Keith Williams <keithwillcode@gmail.com>
This commit is contained in:
Maaz Ahmed KhanandKeith Williams authored and GitHub committed 2024-01-19 11:02:56 -03:00
1 parent 26e50d24b0
commit dcd06b0663
2 files changed
+2 -2

No files matched your search

@@ -66,7 +66,7 @@ export function Calendar(props: CalendarComponentProps) {
style={{ width: "165%" }}
className="flex h-full max-w-full flex-none flex-col sm:max-w-none md:max-w-full">
<DateValues containerNavRef={containerNav} days={days} />
<div className="relative flex flex-auto">
<div className="relative flex flex-auto h-screen overflow-y-auto">
<CurrentTime />
<div className="bg-default dark:bg-muted ring-muted border-default sticky left-0 z-10 w-14 flex-none border-l border-r ring-1" />
<div
@@ -29,7 +29,7 @@ export const TroubleshooterSidebar = () => {
const { t } = useLocale();
return (
<div className="relative z-10 hidden h-screen w-full flex-col gap-6 overflow-y-scroll py-6 pl-4 pr-6 sm:flex md:pl-0">
<div className="relative z-10 hidden w-full flex-col gap-6 h-screen overflow-y-auto py-6 pl-4 pr-6 sm:flex md:pl-0">
<BackButtonInSidebar name={t("troubleshooter")} />
<EventTypeSelect />
<EventScheduleItem />