瀏覽代碼

Updates date positioning

main
Keith Daulton 1 年之前
父節點
當前提交
53b918c2e9
共有 2 個文件被更改,包括 12 次插入2 次删除
  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 查看文件

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

+ 6
- 1
src/webviews/apps/plus/focus/components/gk-pull-request-row.ts 查看文件

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

Loading…
取消
儲存