Skip to content

Commit b1676c7

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 8e9273b commit b1676c7

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
@@ -1152,6 +1152,8 @@ export class GlWorkUnit extends LitElement {
11521152
11531153
gl-card::part(base) {
11541154
margin-block-end: 0;
1155+
padding-top: var(--gl-card-vertical-padding, 0.8rem);
1156+
padding-bottom: var(--gl-card-vertical-padding, 0.8rem);
11551157
}
11561158
`,
11571159
];

0 commit comments

Comments
 (0)