Skip to content

Commit ee2e572

Browse files
Website fixes
1 parent 2b3e190 commit ee2e572

3 files changed

Lines changed: 13 additions & 6 deletions

File tree

src/extension.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export async function activate(context: vscode.ExtensionContext): Promise<Extens
6363
appState.quickTasksProvider = new QuickTasksProvider();
6464
appState.taskRunner = new TaskRunner();
6565
appState.activated = true;
66+
context.subscriptions.push({ dispose: deactivate });
6667
registerTreeViews(context);
6768
registerCommands(context);
6869
setupWatchers(context, workspaceRoot);
@@ -466,4 +467,5 @@ function updateFilterContext(): void {
466467

467468
export function deactivate(): void {
468469
disposeDb();
470+
appState.reset();
469471
}

website/src/assets/css/styles.css

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ li::marker { color: var(--color-primary); }
10511051
h1, h2, h3, h4, h5, h6 {
10521052
max-width: 100% !important;
10531053
overflow-wrap: break-word !important;
1054-
word-break: break-word !important;
1054+
word-break: normal !important;
10551055
hyphens: auto !important;
10561056
}
10571057

@@ -1077,11 +1077,15 @@ li::marker { color: var(--color-primary); }
10771077
.mobile-menu-toggle {
10781078
display: flex;
10791079
flex-direction: column;
1080+
align-items: center;
1081+
justify-content: center;
10801082
gap: 4px;
10811083
background: none;
10821084
border: none;
10831085
cursor: pointer;
1084-
padding: 0.5rem;
1086+
width: 48px;
1087+
height: 48px;
1088+
padding: 0;
10851089
color: var(--color-text);
10861090
}
10871091

@@ -1179,8 +1183,8 @@ li::marker { color: var(--color-primary); }
11791183
.docs-content ul,
11801184
.docs-content ol,
11811185
.docs-content li {
1182-
word-wrap: break-word !important;
11831186
overflow-wrap: break-word !important;
1187+
word-break: normal !important;
11841188
max-width: 100% !important;
11851189
}
11861190

@@ -1189,7 +1193,8 @@ li::marker { color: var(--color-primary); }
11891193
max-width: 100% !important;
11901194
overflow-x: auto !important;
11911195
white-space: pre-wrap !important;
1192-
word-break: break-all !important;
1196+
overflow-wrap: anywhere !important;
1197+
word-break: normal !important;
11931198
}
11941199

11951200
/* Fix any containers with set widths */
@@ -1212,8 +1217,8 @@ li::marker { color: var(--color-primary); }
12121217

12131218
/* CRITICAL: Force text wrapping for all text elements */
12141219
p, span, a, li, td, th, label, button {
1215-
word-break: break-word !important;
12161220
overflow-wrap: break-word !important;
1221+
word-break: normal !important;
12171222
hyphens: auto !important;
12181223
max-width: 100% !important;
12191224
}

website/src/index.njk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ date: git Last Modified
3636
<span class="demo-dot demo-dot-max"></span>
3737
<span class="demo-titlebar-text">CommandTree &mdash; VS Code</span>
3838
</div>
39-
<img src="/assets/images/CommandTree.gif" alt="CommandTree discovering and running commands in VS Code" class="demo-gif" loading="lazy">
39+
<img src="/assets/images/CommandTree.gif" alt="CommandTree discovering and running commands in VS Code" class="demo-gif" loading="eager">
4040
</div>
4141
<p class="demo-caption">Discover, filter, and run every command in your workspace from one panel.</p>
4242
</div>

0 commit comments

Comments
 (0)