Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/layouts/DocumentLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const { title = 'Document', description = 'Document content placeholder.' } =

<SiteLayout title={title} description={description}>
<div
class="rounded-3xl border border-slate-200 bg-white p-6 shadow-sm sm:p-10"
class="w-full p-0 bg-transparent sm:rounded-3xl sm:border sm:border-slate-200 sm:bg-white sm:p-10 sm:shadow-sm"
>
<header class="mb-8">
<p
Expand Down
8 changes: 2 additions & 6 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@ import SiteLayout from '../layouts/SiteLayout.astro';
>
<section class="space-y-16">
<div
class="relative overflow-hidden rounded-3xl border border-slate-200 bg-white p-8 shadow-sm sm:p-12"
class="relative overflow-hidden w-full p-0 bg-transparent sm:rounded-3xl sm:border sm:border-slate-200 sm:bg-white sm:p-12 sm:shadow-sm"
>
<div
class="absolute inset-x-0 top-0 h-1 bg-gradient-to-r from-slate-900 via-slate-500 to-slate-300"
>
</div>
<div class="grid gap-10 lg:grid-cols-[1.5fr_0.85fr] lg:items-end">
<div class="max-w-4xl">
<p
Expand All @@ -36,7 +32,7 @@ import SiteLayout from '../layouts/SiteLayout.astro';
</p>
</div>

<aside class="border-l border-slate-200 pl-0 lg:pl-8">
<aside class="pl-0 lg:border-l lg:border-slate-200 lg:pl-8">
<p
class="text-xs font-semibold uppercase tracking-[0.35em] text-slate-500"
>
Expand Down
6 changes: 6 additions & 0 deletions src/styles/global.css
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
@import 'tailwindcss';
@plugin "@tailwindcss/typography";

@layer base {
body {
word-break: keep-all;
}
}
Loading