Skip to content

Commit 53b918c

Browse files
committed
Updates date positioning
1 parent dffee3b commit 53b918c

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

src/webviews/apps/plus/focus/components/gk-issue-row.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,11 @@ export class GkIssueRow extends LitElement {
8585
.title {
8686
font-size: 1.4rem;
8787
}
88+
89+
.date {
90+
display: inline-block;
91+
min-width: 1.6rem;
92+
}
8893
`,
8994
];
9095

@@ -176,7 +181,7 @@ export class GkIssueRow extends LitElement {
176181
</gk-avatar-group>
177182
</span>
178183
<span slot="date">
179-
<gk-date-from class="${this.dateStyle}" date="${this.lastUpdatedDate}"></gk-date-from>
184+
<gk-date-from class="date ${this.dateStyle}" date="${this.lastUpdatedDate}"></gk-date-from>
180185
</span>
181186
<div slot="repo">
182187
<gk-tag variant="ghost" full>

src/webviews/apps/plus/focus/components/gk-pull-request-row.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@ export class GkPullRequestRow extends LitElement {
114114
z-index: 1;
115115
position: relative;
116116
}
117+
118+
.date {
119+
display: inline-block;
120+
min-width: 1.6rem;
121+
}
117122
`,
118123
];
119124

@@ -267,7 +272,7 @@ export class GkPullRequestRow extends LitElement {
267272
</gk-avatar-group>
268273
</span>
269274
<span slot="date">
270-
<gk-date-from class="${this.dateStyle}" date="${this.lastUpdatedDate}"></gk-date-from>
275+
<gk-date-from class="date ${this.dateStyle}" date="${this.lastUpdatedDate}"></gk-date-from>
271276
</span>
272277
<div slot="repo" class="repo-branch">
273278
<gk-tag class="repo-branch__tag" full @click=${this.onOpenBranchClick}>

0 commit comments

Comments
 (0)