mergin main
This commit is contained in:
parent
b24e4583d7
commit
61f73369d8
app/src/components/ui/componets
|
@ -139,7 +139,7 @@ const Panel: React.FC<PanelProps> = ({
|
||||||
(leftActive ? panelSizeWidth : 0) +
|
(leftActive ? panelSizeWidth : 0) +
|
||||||
(rightActive ? panelSizeWidth : 0)
|
(rightActive ? panelSizeWidth : 0)
|
||||||
}px)`,
|
}px)`,
|
||||||
minHeight: "200px", // Minimum height constraint
|
minHeight: "150px", // Minimum height constraint
|
||||||
height: `${panelSizeHeight - 2}px`, // Subtracting for border or margin
|
height: `${panelSizeHeight - 2}px`, // Subtracting for border or margin
|
||||||
left: leftActive ? `${panelSizeWidth}px` : "0",
|
left: leftActive ? `${panelSizeWidth}px` : "0",
|
||||||
right: rightActive ? `${panelSizeWidth}px` : "0",
|
right: rightActive ? `${panelSizeWidth}px` : "0",
|
||||||
|
@ -149,7 +149,7 @@ const Panel: React.FC<PanelProps> = ({
|
||||||
case "left":
|
case "left":
|
||||||
case "right":
|
case "right":
|
||||||
return {
|
return {
|
||||||
minWidth: "200px", // Minimum width constraint
|
minWidth: "150px", // Minimum width constraint
|
||||||
width: `${panelSizeWidth - 2}px`, // Subtracting for border or margin
|
width: `${panelSizeWidth - 2}px`, // Subtracting for border or margin
|
||||||
// minHeight: "200px", // Minimum height constraint
|
// minHeight: "200px", // Minimum height constraint
|
||||||
height: `calc(100% - ${
|
height: `calc(100% - ${
|
||||||
|
|
Loading…
Reference in New Issue