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;
width: 100%;
height: 100%;
min-height: 400px;
overflow: hidden;
background: var(--color-bg, #ffffff);
}
@ -310,6 +311,7 @@
flex: 1;
width: 100%;
height: 100%;
min-height: 350px;
border: none;
display: block;
}

View File

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

View File

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