Skip to content

Commit 2df2542

Browse files
committed
Stabilize skill evolution layout
1 parent faa4ec6 commit 2df2542

2 files changed

Lines changed: 30 additions & 4 deletions

File tree

‎index.html‎

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,10 +1183,14 @@
11831183
display: grid;
11841184
grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.58fr);
11851185
gap: 16px;
1186-
align-items: start;
1186+
align-items: stretch;
1187+
min-height: 520px;
11871188
}
11881189

11891190
.evolution-chart {
1191+
display: flex;
1192+
flex-direction: column;
1193+
min-height: 520px;
11901194
background: var(--panel);
11911195
border: 1px solid var(--line);
11921196
border-radius: 16px;
@@ -1228,14 +1232,16 @@
12281232
}
12291233

12301234
.chart-scroller {
1235+
flex: 1;
12311236
overflow-x: auto;
12321237
padding: 10px 14px 0;
12331238
}
12341239

12351240
.skill-chart {
12361241
width: 100%;
12371242
min-width: 760px;
1238-
height: auto;
1243+
height: 100%;
1244+
min-height: 390px;
12391245
display: block;
12401246
font-family: var(--mono);
12411247
}
@@ -1328,7 +1334,10 @@
13281334
}
13291335

13301336
.evolution-detail {
1337+
display: flex;
1338+
flex-direction: column;
13311339
min-height: 438px;
1340+
height: 100%;
13321341
padding: 20px;
13331342
color: var(--ink);
13341343
background: #ffffff;
@@ -1412,6 +1421,10 @@
14121421
margin: 0;
14131422
padding: 0;
14141423
list-style: none;
1424+
overflow-y: auto;
1425+
min-height: 150px;
1426+
max-height: 184px;
1427+
padding-right: 4px;
14151428
}
14161429

14171430
.detail-edits li {

‎skillopt.html‎

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,10 +1183,14 @@
11831183
display: grid;
11841184
grid-template-columns: minmax(0, 1.42fr) minmax(300px, 0.58fr);
11851185
gap: 16px;
1186-
align-items: start;
1186+
align-items: stretch;
1187+
min-height: 520px;
11871188
}
11881189

11891190
.evolution-chart {
1191+
display: flex;
1192+
flex-direction: column;
1193+
min-height: 520px;
11901194
background: var(--panel);
11911195
border: 1px solid var(--line);
11921196
border-radius: 16px;
@@ -1228,14 +1232,16 @@
12281232
}
12291233

12301234
.chart-scroller {
1235+
flex: 1;
12311236
overflow-x: auto;
12321237
padding: 10px 14px 0;
12331238
}
12341239

12351240
.skill-chart {
12361241
width: 100%;
12371242
min-width: 760px;
1238-
height: auto;
1243+
height: 100%;
1244+
min-height: 390px;
12391245
display: block;
12401246
font-family: var(--mono);
12411247
}
@@ -1328,7 +1334,10 @@
13281334
}
13291335

13301336
.evolution-detail {
1337+
display: flex;
1338+
flex-direction: column;
13311339
min-height: 438px;
1340+
height: 100%;
13321341
padding: 20px;
13331342
color: var(--ink);
13341343
background: #ffffff;
@@ -1412,6 +1421,10 @@
14121421
margin: 0;
14131422
padding: 0;
14141423
list-style: none;
1424+
overflow-y: auto;
1425+
min-height: 150px;
1426+
max-height: 184px;
1427+
padding-right: 4px;
14151428
}
14161429

14171430
.detail-edits li {

0 commit comments

Comments
 (0)