default tab = workspace (to avoid weird rolling vcs display and "Failed" msg); css tweak for mobile

This commit is contained in:
Steven Hugg committed 2026-09-14 13:19:47 +02:00
1 parent aa21ebda29
commit f4f65c19fb
3 files changed
+6 -2

No files matched your search

+4
View File
@@ -141,6 +141,10 @@ body.tab-layout #notebook > #emulator.active {
body.tab-layout #notebook > .gutter {
display:none;
}
/* no button-group background on mobile tab layout */
body.tab-layout .btn_group {
background-color:transparent;
}
#workspace {
background-color:#333;
overflow:hidden;
+1 -1
View File
@@ -277,7 +277,7 @@ body {
<div id="notebook">
<!-- shown only on small screens (see ide/layout.ts); switches the panes below -->
<div id="mobiletabs" class="disable-select">
<button type="button" class="mobiletab" data-tab="sidebar">Files</button>
<button type="button" class="mobiletab" data-tab="sidebar">Sidebar</button>
<button type="button" class="mobiletab" data-tab="editor">Editor</button>
<button type="button" class="mobiletab active" data-tab="emulator">Emulator</button>
</div>
+1 -1
View File
@@ -33,7 +33,7 @@ var hooks: LayoutHooks = null;
var notebookSplit: any = null;
// true when the panes are shown as tabs (one at a time) instead of side by side
var tabMode = false;
var activeTab = 'emulator';
var activeTab = 'workspace';
// the side-by-side sizes to restore when we leave tab mode
var desktopSizes: number[] = null;
var splitStorageName: string = null;