Skip to content

Commit

Permalink
fix(demo): improve layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Jun 12, 2023
1 parent 626741b commit dfce19a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@
</head>
<body>
<div id="app">
<div style="display: flex">
<div style="display: flex; flex: none; border: 1px solid var(--vscode-editorWidget-border); margin-right: 20px">
<div style="display: flex; gap: 20px;">
<div style="display: flex; flex: none; border: 1px solid var(--vscode-editorWidget-border)">
<div id="activityBar"></div>
<div id="sidebar" style="width: 500px"></div>
</div>
<div style="flex: 1">
<div style="flex: 1; min-width: 0">
<h1>Editor</h1>
<div id="editors"></div>

Expand Down
5 changes: 3 additions & 2 deletions demo/src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ body {
}

#editors {
width: 900px;
width: 100%;
min-width: 0;
height: 600px;
border: 1px solid var(--vscode-editorWidget-border);
}
Expand All @@ -32,6 +33,6 @@ body {
}

.editor {
width: 900px;
width: 100%;
height: 600px;
}

0 comments on commit dfce19a

Please sign in to comment.