From c3fb7da18af9916a49ec054150ebc8725d93d4aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=A2=E3=83=AC=E3=82=AF=E3=82=B5=E3=83=B3=E3=83=80?= =?UTF-8?q?=E3=83=BC=2Eeth?= Date: Wed, 29 Nov 2023 23:05:03 +0900 Subject: [PATCH] fix: display the last issue --- static/scripts/display-issues.ts | 2 +- static/style.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/static/scripts/display-issues.ts b/static/scripts/display-issues.ts index 0b220216..10341b5c 100644 --- a/static/scripts/display-issues.ts +++ b/static/scripts/display-issues.ts @@ -67,7 +67,7 @@ export function displayIssues(container: HTMLDivElement, issues: GitHubIssue[]) issueElement.addEventListener("click", () => { console.log(issue); // console.log(match); - window.open(match?.input, "_blank"); + window.open(match?.input, "_blank"); }); issueWrapper.appendChild(issueElement); diff --git a/static/style.css b/static/style.css index 5e5ab0df..72b575f1 100644 --- a/static/style.css +++ b/static/style.css @@ -27,6 +27,7 @@ body { margin: auto; border-left: 1px solid #80808010; cursor: pointer; + padding: 48px 0; } #issues-container:hover .issue-element-inner {