Skip to content

Commit

Permalink
Make category header larger
Browse files Browse the repository at this point in the history
  • Loading branch information
mdantuono committed Apr 27, 2021
1 parent 94f6e48 commit 937ab0c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/Scroller.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
export let things = [];
</script>

<div class="flex flex-row overflow-auto pl-8 py-7 lg:flex-wrap">
<div class="flex flex-row overflow-auto pl-4 py-7 lg:flex-wrap">
{#each things as thing}
<div class="pr-3 lg:pr-6 lg:pb-6">
<Card style="h-24 w-24 lg:h-48 lg:w-48">
Expand Down
2 changes: 1 addition & 1 deletion src/components/Subheading.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
export let oversized = false;
export let color = "inherit";
let size = oversized ? "text-6xl" : "text-xl";
let size = oversized ? "text-6xl" : "text-xl md:text-2xl lg:text-3xl";
</script>

<h3 class:caps class:center class="{size} font-bold text-{color}">
Expand Down
2 changes: 1 addition & 1 deletion src/routes/browse.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
{#each data.categories as category}
<div>
<Container>
<Subheading>{category}:</Subheading>
<Subheading>{category}</Subheading>
</Container>
<Scroller things={filterThings(category)} />
</div>
Expand Down

0 comments on commit 937ab0c

Please sign in to comment.