From ffd3ccad52febea7e4d8900e8e376620b1ff4bbe Mon Sep 17 00:00:00 2001 From: Chris Amyx <40224280+cdamyx@users.noreply.github.com> Date: Sat, 4 Nov 2023 10:10:44 -0500 Subject: [PATCH] Update Projects page RWD for small screens (#18) * Update projects with single repo and issues below * Remove blank lines * Update Projects page RWD for small screens --- islands/IssuesList.tsx | 9 +++++---- routes/projects.tsx | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/islands/IssuesList.tsx b/islands/IssuesList.tsx index 18de946..a1d3eb7 100644 --- a/islands/IssuesList.tsx +++ b/islands/IssuesList.tsx @@ -24,7 +24,7 @@ const IssuesList = ({repos, issues}: Props) => { const showLabel = (label: LabelProps) => { return ( - setLabelFilter(label)} style={"background-color: #".concat(label.color)} class="cursor-pointer font-bold mr-1 px-2 py-[0.125rem] rounded-xl text-white text-xxs whitespace-nowrap hover:text-black"> + setLabelFilter(label)} style={"background-color: #".concat(label.color)} class="cursor-pointer font-bold mr-1 mb-1 w-fit px-2 py-[0.125rem] rounded-xl text-white text-xxs whitespace-nowrap hover:text-black"> {label.name} ); @@ -47,7 +47,7 @@ const IssuesList = ({repos, issues}: Props) => {
- setRepoFilter(e.currentTarget.value)}> {repos.map(repo => )} @@ -59,8 +59,9 @@ const IssuesList = ({repos, issues}: Props) => { )}
- {(repoFilter !== NO_FILTER || labelFilter) && } +
+ {(repoFilter !== NO_FILTER || labelFilter) && }