Skip to content

Commit aab9a21

Browse files
authored
Icons aren't well aligned in PR view (#7220)
* Icons aren't well aligned in PR view Fixes #7219 * Add the rainbow and fix user link spacing in timeline message
1 parent 3ae5f8a commit aab9a21

File tree

1 file changed

+68
-1
lines changed

1 file changed

+68
-1
lines changed

webviews/editorWebview/index.css

Lines changed: 68 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,11 +382,13 @@ button.input-box {
382382

383383
body .comment-container .review-comment-header>span,
384384
body .comment-container .review-comment-header>a,
385-
body .commit .commit-message>a,
386385
body .merged .merged-message>a {
387386
margin-right: 6px;
388387
}
389388

389+
body .commit .commit-message>a {
390+
margin-right: 3px;
391+
}
390392
body .comment-container .review-comment-container .pending-label,
391393
body .resolved-container .outdatedLabel {
392394
background: var(--vscode-badge-background);
@@ -1382,3 +1384,68 @@ code {
13821384
.blob-code-marker-deletion::before {
13831385
content: "- ";
13841386
}
1387+
1388+
.markdown-alert.markdown-alert-warning {
1389+
border-left: .25em solid var(--vscode-editorWarning-foreground);
1390+
}
1391+
1392+
.markdown-alert.markdown-alert-warning .markdown-alert-title {
1393+
color: var(--vscode-editorWarning-foreground);
1394+
}
1395+
1396+
.markdown-alert.markdown-alert-note {
1397+
border-left: .25em solid var(--vscode-editorInfo-foreground);
1398+
}
1399+
1400+
.markdown-alert.markdown-alert-note .markdown-alert-title {
1401+
color: var(--vscode-editorInfo-foreground);
1402+
}
1403+
1404+
.markdown-alert.markdown-alert-tip {
1405+
border-left: .25em solid var(--vscode-testing-iconPassed);
1406+
}
1407+
1408+
.markdown-alert.markdown-alert-tip .markdown-alert-title {
1409+
color: var(--vscode-testing-iconPassed);
1410+
}
1411+
1412+
.markdown-alert.markdown-alert-important {
1413+
border-left: .25em solid var(--vscode-statusBar-debuggingBackground);
1414+
}
1415+
1416+
.markdown-alert.markdown-alert-important .markdown-alert-title {
1417+
color: var(--vscode-statusBar-debuggingBackground);
1418+
}
1419+
1420+
.markdown-alert.markdown-alert-caution {
1421+
border-left: .25em solid var(--vscode-editorError-foreground);
1422+
}
1423+
1424+
.markdown-alert.markdown-alert-caution .markdown-alert-title {
1425+
color: var(--vscode-editorError-foreground);
1426+
}
1427+
1428+
.markdown-alert {
1429+
padding: .5rem .5rem;
1430+
margin-bottom: 1rem;
1431+
color: inherit;
1432+
}
1433+
.markdown-alert .markdown-alert-title {
1434+
display: flex;
1435+
align-items: center;
1436+
line-height: 1;
1437+
}
1438+
1439+
.markdown-alert-title svg {
1440+
padding-right: 3px;
1441+
}
1442+
.markdown-alert>:first-child {
1443+
margin-top: 0;
1444+
}
1445+
1446+
svg.octicon path {
1447+
display: inline-block;
1448+
overflow: visible !important;
1449+
vertical-align: text-bottom;
1450+
fill: currentColor;
1451+
}

0 commit comments

Comments
 (0)