Skip to content
This repository was archived by the owner on Feb 3, 2024. It is now read-only.

Commit e269416

Browse files
committed
docs: fix max width
1 parent 4c65774 commit e269416

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

packages/docs/index.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,10 +181,6 @@ a:visited {
181181
min-width: 120px;
182182
}
183183

184-
.max-w-65 {
185-
max-width: 65ch;
186-
}
187-
188184
button,
189185
select {
190186
text-transform: capitalize;

packages/docs/index.pug

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ html(data-pdm="light dark blue" lang="en")
2121
include ./index.css
2222
body
2323
- var outline = ['focus:outline-none focus:shadow-outline']
24-
div.max-w-65.mx-auto.fixed.top-0.right-0.left-0.flex.flew-row.px-3.mt-3.pointer-events-none.top-bar(class="md:mt-6")
24+
div.max-w-2xl.mx-auto.fixed.top-0.right-0.left-0.flex.flew-row.px-3.mt-3.pointer-events-none.top-bar(class="md:mt-6")
2525
button.rounded-sm.pdm-cycle.ml-auto.floating-button.opacity-0.transition-opacity.duration-300.ease-in-out(class=outline)
2626
i.emoji.light.pdm-emoji(style="visibility: hidden;")
27-
div.max-w-65.mx-auto.px-3.mb-3
27+
div.max-w-2xl.mx-auto.px-3.mb-3
2828
div.header.flex.items-center.justify-between.flex-col.my-3(class="md:flex-row md:my-6")
2929
h1.mb-3.title(class="md:mb-0") <i class="emoji dark"></i><i class="emoji light"></i> Perfect Dark Mode
3030
button.min-w-1.rounded-sm.pdm-toggle.flex.flex-col.items-center(class=outline)
@@ -41,7 +41,7 @@ html(data-pdm="light dark blue" lang="en")
4141
a.badge.rounded-sm.overflow-hidden(href="https://github.com/DylanVann/perfect-dark-mode" target="blank" rel="noopener" class=outline)
4242
+simpleBadge("GitHub")
4343

44-
div.prose.max-w-65.mx-auto.mb-12.px-3
44+
div.prose.max-w-2xl.mx-auto.mb-12.px-3
4545
include:markdown ./markdown/features.md
4646

4747
p
@@ -54,7 +54,7 @@ html(data-pdm="light dark blue" lang="en")
5454
div.sticky.top-0.p-3.overflow-y-auto.max-h-screen
5555
div.border-l.border-gray-100.pl-3.py-3.toc
5656
include:markdown-toc ./markdown/docs.md
57-
div.prose.px-3.pb-10.order-2.min-w-0.mx-auto
57+
div.prose.px-3.pb-10.order-2.min-w-0.mx-auto.max-w-2xl
5858
include:markdown ./markdown/docs.md
5959

6060
hr

0 commit comments

Comments
 (0)