Skip to content

Commit 1700596

Browse files
author
Loïc Mangeonjean
committed
feat(demo): demo title and banner view parts
1 parent 0404368 commit 1700596

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

demo/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
</head>
99
<body>
1010
<div id="app">
11+
<div id="titleBar"></div>
12+
<div id="banner"></div>
1113
<div style="display: flex; gap: 20px;">
1214
<div style="display: flex; flex: none; border: 1px solid var(--vscode-editorWidget-border)">
1315
<div id="activityBar"></div>

demo/src/setup.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ export async function clearStorage (): Promise<void> {
111111
await initializeVscodeExtensions()
112112

113113
for (const { part, element } of [
114+
{ part: Parts.TITLEBAR_PART, element: '#titleBar' },
115+
{ part: Parts.BANNER_PART, element: '#banner' },
114116
{ part: Parts.SIDEBAR_PART, element: '#sidebar' },
115117
{ part: Parts.ACTIVITYBAR_PART, element: '#activityBar' },
116118
{ part: Parts.PANEL_PART, element: '#panel' },

demo/src/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,7 @@ body {
3737
width: 100%;
3838
height: 55vh;
3939
}
40+
41+
#titleBar {
42+
position: relative;
43+
}

0 commit comments

Comments
 (0)