@3sc/common-component 0.0.99 → 0.0.100

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -33517,7 +33517,7 @@ const tF = ({
33517
33517
  width: n ? "75%" : "100%",
33518
33518
  position: "relative",
33519
33519
  zIndex: 3,
33520
- height: "100vh",
33520
+ height: "calc(100vh - 7rem)",
33521
33521
  p: "0rem 1.5rem",
33522
33522
  overflow: "auto"
33523
33523
  },
@@ -33550,7 +33550,7 @@ const tF = ({
33550
33550
  position: n ? "relative" : "absolute",
33551
33551
  top: 0,
33552
33552
  right: 0,
33553
- height: "100vh",
33553
+ height: "calc(100vh - 7rem)",
33554
33554
  // Full screen height
33555
33555
  backgroundColor: f.palette.primary.notifyBackground,
33556
33556
  p: 2,
@@ -33560,10 +33560,8 @@ const tF = ({
33560
33560
  borderLeft: `0.1rem solid ${f.palette.primary.notifyBorderColor}`,
33561
33561
  display: "flex",
33562
33562
  // Ensures child elements adjust properly
33563
- flexDirection: "column",
33563
+ flexDirection: "column"
33564
33564
  // Stack elements vertically
33565
- overflow: "hidden"
33566
- // Prevent scrolling on the main container
33567
33565
  },
33568
33566
  children: [
33569
33567
  /* @__PURE__ */ y.jsxs(
@@ -33648,20 +33646,13 @@ const tF = ({
33648
33646
  ]
33649
33647
  }
33650
33648
  ),
33651
- /* @__PURE__ */ y.jsx(
33652
- me,
33653
- {
33654
- sx: {
33655
- flexGrow: 1,
33656
- // Take remaining height
33657
- overflow: "auto",
33658
- // Enable scrolling for content
33659
- mt: 2
33660
- // Add margin-top to separate from header
33661
- },
33662
- children: e
33663
- }
33664
- )
33649
+ /* @__PURE__ */ y.jsx(me, { sx: {
33650
+ scrollbarWidth: "none",
33651
+ "&::-webkit-scrollbar": {
33652
+ display: "none"
33653
+ },
33654
+ overflow: "auto"
33655
+ }, children: e })
33665
33656
  ]
33666
33657
  }
33667
33658
  )