diff --git a/src/components/DatePicker/DatePicker.css b/src/components/DatePicker/DatePicker.css index 54808a06c..1b6f3a626 100644 --- a/src/components/DatePicker/DatePicker.css +++ b/src/components/DatePicker/DatePicker.css @@ -127,7 +127,8 @@ } /* Change the dates within the date to have the full light blue to show that it's a part of the range */ -.date-range-picker .DayPicker-Day--selected:not(.DayPicker-Day--start):not(.DayPicker-Day--end):not(.DayPicker-Day--outside) { +.date-range-picker + .DayPicker-Day--selected:not(.DayPicker-Day--start):not(.DayPicker-Day--end):not(.DayPicker-Day--outside) { @apply rounded-none bg-blue-lighter text-black; } diff --git a/src/components/Sidebar/Sidebar.jsx b/src/components/Sidebar/Sidebar.jsx index d4b3b3f4f..0b50a0abc 100644 --- a/src/components/Sidebar/Sidebar.jsx +++ b/src/components/Sidebar/Sidebar.jsx @@ -12,13 +12,24 @@ import { SidebarFooter } from "./Sidebar.Footer"; import { SidebarHeading } from "./Sidebar.Heading"; import { SidebarLink, SidebarSeparator } from "./Sidebar.Link"; import { SidebarMenu } from "./Sidebar.Menu"; +import sidebarScroll from "./SidebarScroll.module.css"; const LeftDrawerCountStyle = { // From Figma background: "linear-gradient(138.65deg, #583DFF 19.59%, #F849C7 62.96%, #FFC03D 97.07%)", }; -export const Sidebar = ({ logo, children, className, footer, notifications, isFixed = true, onLogoClick }) => { +export const Sidebar = ({ + logo, + children, + className, + footer, + notifications, + isFixed = true, + onLogoClick, + isStickyHeader = true, + isStickyFooter = true, +}) => { const [isLeftDrawerOpen, setIsLeftDrawerOpen] = useState(false); const [isRightDrawerOpen, setIsRightDrawerOpen] = useState(false); @@ -64,17 +75,26 @@ export const Sidebar = ({ logo, children, className, footer, notifications, isFi } }; + const isStickyHeaderFooter = isStickyHeader && isStickyFooter; + return (