Browse Source

Updates date positioning

main
Keith Daulton 1 year ago
parent
commit
53b918c2e9
2 changed files with 12 additions and 2 deletions
  1. +6
    -1
      src/webviews/apps/plus/focus/components/gk-issue-row.ts
  2. +6
    -1
      src/webviews/apps/plus/focus/components/gk-pull-request-row.ts

+ 6
- 1
src/webviews/apps/plus/focus/components/gk-issue-row.ts View File

@ -85,6 +85,11 @@ export class GkIssueRow extends LitElement {
.title { .title {
font-size: 1.4rem; font-size: 1.4rem;
} }
.date {
display: inline-block;
min-width: 1.6rem;
}
`, `,
]; ];
@ -176,7 +181,7 @@ export class GkIssueRow extends LitElement {
</gk-avatar-group> </gk-avatar-group>
</span> </span>
<span slot="date"> <span slot="date">
<gk-date-from class="${this.dateStyle}" date="${this.lastUpdatedDate}"></gk-date-from>
<gk-date-from class="date ${this.dateStyle}" date="${this.lastUpdatedDate}"></gk-date-from>
</span> </span>
<div slot="repo"> <div slot="repo">
<gk-tag variant="ghost" full> <gk-tag variant="ghost" full>

+ 6
- 1
src/webviews/apps/plus/focus/components/gk-pull-request-row.ts View File

@ -114,6 +114,11 @@ export class GkPullRequestRow extends LitElement {
z-index: 1; z-index: 1;
position: relative; position: relative;
} }
.date {
display: inline-block;
min-width: 1.6rem;
}
`, `,
]; ];
@ -267,7 +272,7 @@ export class GkPullRequestRow extends LitElement {
</gk-avatar-group> </gk-avatar-group>
</span> </span>
<span slot="date"> <span slot="date">
<gk-date-from class="${this.dateStyle}" date="${this.lastUpdatedDate}"></gk-date-from>
<gk-date-from class="date ${this.dateStyle}" date="${this.lastUpdatedDate}"></gk-date-from>
</span> </span>
<div slot="repo" class="repo-branch"> <div slot="repo" class="repo-branch">
<gk-tag class="repo-branch__tag" full @click=${this.onOpenBranchClick}> <gk-tag class="repo-branch__tag" full @click=${this.onOpenBranchClick}>

Loading…
Cancel
Save