We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fe770c commit e8a9e9dCopy full SHA for e8a9e9d
ui/arduino/components/panel.js
@@ -1,6 +1,7 @@
1
function Panel(state, emit) {
2
+ let openClass = state.isTerminalOpen || state.isFilesOpen ? 'open' : ''
3
return html`
- <div id="panel">
4
+ <div id="panel" class=${openClass}>
5
${state.isTerminalOpen ? PanelTerminal(state, emit) : null}
6
${state.isFilesOpen ? PanelFiles(state, emit) : null}
7
</div>
ui/arduino/theme.css
@@ -154,6 +154,8 @@ img {
154
/* PANEL */
155
#panel {
156
overflow: hidden;
157
+}
158
+#panel.open {
159
height: 100%;
160
}
161
0 commit comments