fix: move form inside device panel, use display:contents to preserve tab layout
This commit is contained in:
parent
84b8b1c65a
commit
65eb988905
@ -20,8 +20,8 @@
|
||||
</ul>
|
||||
<div class="tab-content" style="padding:0">
|
||||
|
||||
<form id="console-form" method="post" action="/ui/console">
|
||||
<div id="console-panel-device" class="card tab-pane active show" style="padding:16px;margin:0;border-top-left-radius:0">
|
||||
<form id="console-form" method="post" action="/ui/console" style="display:contents">
|
||||
|
||||
{{range $i, $cd := .ConsoleDevices}}
|
||||
<div class="console-device-row">
|
||||
@ -117,8 +117,8 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div><!-- end device panel -->
|
||||
</form>
|
||||
</div><!-- end device panel -->
|
||||
|
||||
<div id="console-panel-video" class="card tab-pane" style="padding:16px;margin:0;border-top-left-radius:0">
|
||||
<div style="display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user