Skip to content

Commit 66d8947

Browse files
authored
1 parent 0a26ed8 commit 66d8947

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

src/vs/workbench/contrib/welcomeGettingStarted/browser/gettingStarted.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ import { Codicon } from 'vs/base/common/codicons';
7070
import { restoreWalkthroughsConfigurationKey, RestoreWalkthroughsConfigurationValue } from 'vs/workbench/contrib/welcomeGettingStarted/browser/startupPage';
7171
import { GettingStartedDetailsRenderer } from 'vs/workbench/contrib/welcomeGettingStarted/browser/gettingStartedDetailsRenderer';
7272
import { IAccessibilityService } from 'vs/platform/accessibility/common/accessibility';
73+
import { renderLabelWithIcons } from 'vs/base/browser/ui/iconLabel/iconLabels';
7374

7475
const SLIDE_TRANSITION_TIME_MS = 250;
7576
const configurationKey = 'workbench.startupEditor';
@@ -968,7 +969,7 @@ export class GettingStartedPage extends EditorPane {
968969

969970
if (category.isFeatured) {
970971
reset(featuredBadge, $('.featured', {}, $('span.featured-icon.codicon.codicon-star-empty')));
971-
reset(descriptionContent, category.description);
972+
reset(descriptionContent, ...renderLabelWithIcons(category.description));
972973
}
973974

974975
return $('button.getting-started-category' + (category.isFeatured ? '.featured' : ''),
@@ -1237,7 +1238,7 @@ export class GettingStartedPage extends EditorPane {
12371238
this.iconWidgetFor(category),
12381239
$('.category-description-container', {},
12391240
$('h2.category-title.max-lines-3', { 'x-category-title-for': category.id }, category.title),
1240-
$('.category-description.description.max-lines-3', { 'x-category-description-for': category.id }, category.description)));
1241+
$('.category-description.description.max-lines-3', { 'x-category-description-for': category.id }, ...renderLabelWithIcons(category.description))));
12411242

12421243
const stepListContainer = $('.step-list-container');
12431244

src/vs/workbench/contrib/welcomeGettingStarted/browser/media/gettingStarted.css

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,11 @@
284284
margin-left: 28px;
285285
}
286286

287+
.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .description-content > .codicon {
288+
padding-right: 1px;
289+
font-size: 16px;
290+
}
291+
287292
.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlide .getting-started-category .description-content:not(:empty){
288293
margin-bottom: 8px;
289294
}
@@ -368,7 +373,7 @@
368373
flex: 150px 1 1000
369374
}
370375

371-
.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .getting-started-category .codicon {
376+
.monaco-workbench .part.editor>.content .gettingStartedContainer .gettingStartedSlideDetails .gettingStartedDetailsContent>.getting-started-category>.codicon-getting-started-setup {
372377
margin-right: 8px;
373378
font-size: 28px;
374379
}

0 commit comments

Comments
 (0)