Skip to content

Commit

Permalink
add styling
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjonas committed Jul 31, 2023
1 parent e149b37 commit 90a3f8f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/server/post.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ export const ContributorsList = ({contributors}: {contributors: string[]}) => {
}

export const SummaryList = ({summary}: {summary: string}) => {
const items: string[] = summary.split('-').filter((item: string) => item.trim() !== '');
const items: string[] = summary.split('- ').filter((item: string) => item.trim() !== '');
return (
<ul>
<ul className="summary-bullets">
{items.map((item: string, index: number) => <li key={index}>{item.trim()}</li>)}
</ul>
)
Expand Down
9 changes: 9 additions & 0 deletions src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,12 @@
)
rgb(var(--background-start-rgb));
} */

.summary-bullets {
list-style-type: circle;
padding-left: 10px;
}

.summary-bullets li {
margin-bottom: 10px;
}

0 comments on commit 90a3f8f

Please sign in to comment.