fix(teacher): fix CSS height collapse and flex layout in content editor arduino tab

This commit is contained in:
a2nr 2026-09-05 17:32:21 +07:00
parent 21ffb65e05
commit 032e7f29ae
3 changed files with 10 additions and 1 deletions

View File

@ -197,6 +197,7 @@
flex-direction: column; flex-direction: column;
width: 100%; width: 100%;
height: 100%; height: 100%;
min-height: 400px;
overflow: hidden; overflow: hidden;
background: var(--color-bg, #ffffff); background: var(--color-bg, #ffffff);
} }
@ -310,6 +311,7 @@
flex: 1; flex: 1;
width: 100%; width: 100%;
height: 100%; height: 100%;
min-height: 350px;
border: none; border: none;
display: block; display: block;
} }

View File

@ -1217,8 +1217,11 @@
} }
.tab-panel { .tab-panel {
flex: 1; flex: 1;
display: flex;
flex-direction: column;
overflow-y: auto; overflow-y: auto;
min-height: 0; min-height: 0;
height: 100%;
} }
.tab-panel.tab-hidden { .tab-panel.tab-hidden {
display: none; display: none;
@ -1361,12 +1364,15 @@
display: flex; display: flex;
flex-direction: column; flex-direction: column;
overflow: hidden; overflow: hidden;
min-height: 0; min-height: 400px;
} }
.velxio-iframe { .velxio-iframe {
width: 100%; width: 100%;
flex: 1; flex: 1;
height: 100%;
min-height: 350px;
border: none; border: none;
display: block;
} }
/* Flowchart tab */ /* Flowchart tab */

View File

@ -25,6 +25,7 @@ services:
hostname: ${ELEMES_HOST} hostname: ${ELEMES_HOST}
environment: environment:
- TS_AUTHKEY=${TS_AUTHKEY} - TS_AUTHKEY=${TS_AUTHKEY}
- TS_EXTRA_ARGS=--reset
- TS_SERVE_CONFIG=/config/lms-tail.json - TS_SERVE_CONFIG=/config/lms-tail.json
- TS_STATE_DIR=/var/lib/tailscale - TS_STATE_DIR=/var/lib/tailscale
- TS_USERSPACE=true - TS_USERSPACE=true