Skip to content

Commit dddf922

Browse files
authored
Add a dot separator between projects (#6622)
Fixes #5792
1 parent 265a18b commit dddf922

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

webviews/createPullRequestViewNew/app.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,9 +315,9 @@ export function main() {
315315
onClick={(e) => activateCommand(e.nativeEvent, 'pr.changeProjects')}
316316
onKeyPress={(e) => activateCommand(e.nativeEvent, 'pr.changeProjects')}
317317
>
318-
{params.projects.map(project =>
318+
{params.projects.map((project, index) =>
319319
<li>
320-
<span key={project.id}>{project.title}</span>
320+
<span key={project.id}>{index > 0 ? <span className='sep'>&#8226;</span> : null}{project.title}</span>
321321
</li>)}
322322
</ul>
323323
</div>

webviews/createPullRequestViewNew/index.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,10 @@ textarea {
240240
padding: 2px;
241241
}
242242

243+
.group-additions ul li .sep {
244+
padding-right: 7px;
245+
}
246+
243247
.labels ul li {
244248
border: 1px solid var(--vscode-menu-separatorBackground);
245249
border-radius: 2px;

0 commit comments

Comments
 (0)