优化样式和布局,调整基因时序分析页面的标题和图例位置,更新导航容器样式以适应全宽显示。

This commit is contained in:
wjsjwr 2025-07-26 20:23:29 +08:00
parent edb72bc526
commit 2291f59144
2 changed files with 12 additions and 11 deletions

View File

@ -512,8 +512,8 @@ const TemporalAnalysis: React.FC = () => {
{/* 基因时序分析部分 */}
<div className="visualization-container">
<div style={{ display: "flex", justifyContent: "space-between", alignItems: "center", marginBottom: "1rem" }}>
<h3 style={{ margin: 0 }}></h3>
<h3 style={{ marginBottom: "1rem", textAlign: "center" }}></h3>
<div style={{ display: "flex", justifyContent: "center", alignItems: "center", marginBottom: "1rem" }}>
<select
value={selectedGene}
onChange={(e) => {
@ -585,14 +585,14 @@ const TemporalAnalysis: React.FC = () => {
lineWidth={3}
legends={[
{
anchor: 'bottom-right',
direction: 'column',
anchor: 'top',
direction: 'row',
justify: false,
translateX: 60,
translateY: 0,
itemsSpacing: 1,
itemWidth: 50,
itemHeight: 14,
translateX: 0,
translateY: -30,
itemsSpacing: 45,
itemWidth: 70,
itemHeight: 16,
itemDirection: 'left-to-right',
itemOpacity: 0.75,
symbolSize: 8,

View File

@ -60,8 +60,9 @@ body {
}
.nav-container {
max-width: 1200px;
margin: 0 auto;
/* max-width: 1200px; */
/* margin: 0 auto; */
width: 100%;
padding: 0 1rem;
display: flex;
align-items: center;