Skip to content

Commit

Permalink
Fix width under sm
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoheiu committed Oct 8, 2023
1 parent d3a4267 commit 4fbea03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</head>
<body
data-sveltekit-preload-data="hover"
class="mx-auto w-64 sm:w-96 md:w-144 break-words bg-slate-50 leading-7 text-slate-800 h-auto"
class="mx-auto w-11/12 sm:w-96 md:w-144 break-words bg-slate-50 leading-7 text-slate-800 h-auto"
>
<div style="display: contents">%sveltekit.body%</div>
</body>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/ArticleCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
{:else}
<div
transition:scale={{ duration: 250 }}
class="w-64 sm:w-96 md:w-144 mt-4 mb-4 first:mt-8 last:mb-8"
class="w-11/12 sm:w-96 md:w-144 mt-4 mb-4 first:mt-8 last:mb-8"
>
{#if article.timestamp}
<div class="py-1 text-sm text-slate-500">
Expand Down

0 comments on commit 4fbea03

Please sign in to comment.