Commit ·
e4eaedc
1
Parent(s): 7f74b7d
proto3
Browse files
app.py
CHANGED
|
@@ -132,6 +132,10 @@ INDEX_MARKUP = r"""
|
|
| 132 |
|
| 133 |
.bb-card { background: #fffdf5; border: 1px solid #ecdfb8; border-radius: 16px; padding: 14px;
|
| 134 |
display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
|
|
|
|
|
|
|
|
|
|
|
|
|
| 135 |
|
| 136 |
/* ---- board: a real Bestemshe board with kumalak stones ---- */
|
| 137 |
.bb-board { flex: 1 1 auto; width: 100%;
|
|
|
|
| 132 |
|
| 133 |
.bb-card { background: #fffdf5; border: 1px solid #ecdfb8; border-radius: 16px; padding: 14px;
|
| 134 |
display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
|
| 135 |
+
/* the AI panel is capacity-bound (a fixed number of pit rows), not stretchy like
|
| 136 |
+
the move-history card below it — cap it and let it scroll instead of growing
|
| 137 |
+
the whole sidebar (and page) taller than the board. */
|
| 138 |
+
#bb-ai-card { flex: 0 1 auto; max-height: 42%; overflow-y: auto; }
|
| 139 |
|
| 140 |
/* ---- board: a real Bestemshe board with kumalak stones ---- */
|
| 141 |
.bb-board { flex: 1 1 auto; width: 100%;
|