解决收起时影响页面布局的问题

This commit is contained in:
JIANG
2025-11-07 12:08:51 +08:00
parent 594d40fe52
commit 6f014cbdd3
2 changed files with 2 additions and 2 deletions

View File

@@ -97,7 +97,7 @@ const BurstPipeAnalysisPanel: React.FC<BurstPipeAnalysisPanelProps> = ({
<Box <Box
className="absolute top-4 right-4 bg-white shadow-2xl rounded-lg cursor-pointer hover:shadow-xl transition-all duration-300 opacity-95 hover:opacity-100" className="absolute top-4 right-4 bg-white shadow-2xl rounded-lg cursor-pointer hover:shadow-xl transition-all duration-300 opacity-95 hover:opacity-100"
onClick={handleToggle} onClick={handleToggle}
// sx={{ zIndex: 1300 }} sx={{ zIndex: 1300 }}
> >
<Box className="flex flex-col items-center py-3 px-3 gap-1"> <Box className="flex flex-col items-center py-3 px-3 gap-1">
<AnalyticsIcon className="text-[#257DD4] w-5 h-5" /> <AnalyticsIcon className="text-[#257DD4] w-5 h-5" />

View File

@@ -87,7 +87,7 @@ const MonitoringPlaceOptimizationPanel: React.FC<
<Box <Box
className="absolute top-4 right-4 bg-white shadow-2xl rounded-lg cursor-pointer hover:shadow-xl transition-all duration-300 opacity-95 hover:opacity-100" className="absolute top-4 right-4 bg-white shadow-2xl rounded-lg cursor-pointer hover:shadow-xl transition-all duration-300 opacity-95 hover:opacity-100"
onClick={handleToggle} onClick={handleToggle}
// sx={{ zIndex: 1300 }} sx={{ zIndex: 1300 }}
> >
<Box className="flex flex-col items-center py-3 px-3 gap-1"> <Box className="flex flex-col items-center py-3 px-3 gap-1">
<SensorsIcon className="text-[#257DD4] w-5 h-5" /> <SensorsIcon className="text-[#257DD4] w-5 h-5" />