fix(tasks-ui): колонки доски тянутся на всю ширину и пересчитываются при скрытии панели ассистента
flex:0 0 258px → flex:1 1 0, min-width:210px + .board{width:100%};
замеры headless-Chromium: 1600px — 5x229 с чатом / 5x295 без чата,
1366px — 5x210 / 5x248; .chatpane.hide получил overflow:hidden
This commit is contained in:
@@ -245,7 +245,7 @@ body.f3 .c3{flex:1}
|
||||
/* ─── ИИ-панель ─── */
|
||||
.chatpane{width:330px;min-width:330px;background:var(--bg2);border-left:1px solid var(--border);
|
||||
display:flex;flex-direction:column;transition:width .25s,min-width .25s,opacity .25s;opacity:1;overflow:hidden}
|
||||
.chatpane.hide{width:0;min-width:0;opacity:0;border:none}
|
||||
.chatpane.hide{width:0;min-width:0;opacity:0;border:none;overflow:hidden}
|
||||
.chathead{display:flex;align-items:center;gap:8px;padding:10px 12px;border-bottom:1px solid var(--border);flex-shrink:0}
|
||||
.chathead .ai-ic{width:30px;height:30px;border-radius:8px;background:var(--sel);
|
||||
display:flex;align-items:center;justify-content:center;font-size:15px}
|
||||
@@ -462,8 +462,11 @@ select.qi{width:72px}
|
||||
.qerr{color:var(--urgent);font-size:11.5px;margin-top:5px}
|
||||
|
||||
/* колонки */
|
||||
.board{display:flex;gap:10px;padding:10px 16px 16px;overflow-x:auto;min-height:0;flex:1}
|
||||
.tcol{flex:0 0 258px;display:flex;flex-direction:column;min-height:0;
|
||||
.board{display:flex;gap:10px;padding:10px 16px 16px;overflow-x:auto;min-height:0;flex:1;
|
||||
width:100%}
|
||||
/* колонки тянутся на всю доступную ширину (было flex:0 0 258px — справа пустота,
|
||||
и закрытие панели ассистента не меняло вид доски); при узком окне — скролл */
|
||||
.tcol{flex:1 1 0;min-width:210px;display:flex;flex-direction:column;min-height:0;
|
||||
background:var(--bg2);border:1px solid var(--border);border-radius:8px}
|
||||
.cchead{display:flex;align-items:center;gap:6px;padding:8px 10px;font-size:12px;
|
||||
font-weight:600;color:var(--fg2);border-bottom:1px solid var(--border);
|
||||
|
||||
Reference in New Issue
Block a user