Skip to content

Commit

Permalink
update styles
Browse files Browse the repository at this point in the history
  • Loading branch information
ubermanu committed Dec 22, 2023
1 parent 7081615 commit 66330d4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
>
<ul
class="box-border grid gap-8 p-8"
style:grid-template-columns="repeat(auto-fill, minmax(8rem, 1fr))"
style:grid-template-columns="repeat(auto-fill, minmax(3rem, 1fr))"
>
{#each sounds as sound}
<li>
Expand Down
4 changes: 2 additions & 2 deletions src/routes/EmojiButton.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
</script>

<button
class="flex w-full cursor-pointer flex-col items-center justify-center gap-2 p-4"
class="flex w-full cursor-pointer flex-col items-center justify-center gap-4"
onclick={() => (playing ? stop() : play())}
>
<span
Expand All @@ -43,5 +43,5 @@
>
{emoji}
</span>
<span class="text-2xl">{name}</span>
<span class="text-lg font-light">{name}</span>
</button>
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/** @type {import('tailwindcss').Config} */
export default {
darkMode: 'class',
darkMode: 'media',
content: ['./src/**/*.{html,js,svelte,ts}'],
theme: {
extend: {},
Expand Down

0 comments on commit 66330d4

Please sign in to comment.