Skip to content

Commit cbf87b9

Browse files
committed
Modifies the current issue card to be shorter than the other cards
reduces the top/bottom padding to 4px from 8px (#4332, #4349)
1 parent a82f269 commit cbf87b9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

src/webviews/apps/plus/home/components/active-work.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,10 @@ export class GlActiveBranchCard extends GlBranchCardBase {
237237
color: var(--vscode-descriptionForeground);
238238
font-style: italic;
239239
}
240+
241+
gl-work-item {
242+
--gl-card-vertical-padding: 0.4rem;
243+
}
240244
`,
241245
];
242246

src/webviews/apps/plus/home/components/branch-card.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,6 +1175,8 @@ export class GlWorkUnit extends LitElement {
11751175
11761176
gl-card::part(base) {
11771177
margin-block-end: 0;
1178+
padding-top: var(--gl-card-vertical-padding, 0.8rem);
1179+
padding-bottom: var(--gl-card-vertical-padding, 0.8rem);
11781180
}
11791181
`,
11801182
];

0 commit comments

Comments
 (0)