Skip to content

Commit

Permalink
chore: update formatting for canary (#632)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored Sep 25, 2024
1 parent f196eaa commit 93f4ce3
Show file tree
Hide file tree
Showing 4 changed files with 103 additions and 93 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ on:
workflow_dispatch:
inputs:
releaseKind:
description: 'Kind of release'
default: 'minor'
description: "Kind of release"
default: "minor"
type: choice
options:
- patch
Expand Down
6 changes: 6 additions & 0 deletions deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@
"target",
"benches/fixtures"
],
"fmt": {
"exclude": [
"**/*.gen.css",
"generated_docs"
]
},
"lint": {
"exclude": [
"src/html",
Expand Down
10 changes: 7 additions & 3 deletions src/html/templates/pages/page.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
}

#categoryPanel {
@apply max-lg:hidden -mt-0 pt-0 w-[250px] flex-shrink-0 top-0 sticky h-screen box-border;
@apply max-lg:hidden -mt-0 pt-0 w-[250px] flex-shrink-0 top-0 sticky h-screen
box-border;

> ul {
@apply max-h-full overflow-y-auto;
Expand All @@ -39,7 +40,8 @@
@apply mt-4;

> main {
@apply min-w-0 col-span-full pb-0 md:pb-8 lg:pb-12 flex flex-col gap-3 flex-grow;
@apply min-w-0 col-span-full pb-0 md:pb-8 lg:pb-12 flex flex-col gap-3
flex-grow;
}

&:has(.toc) > main {
Expand All @@ -60,7 +62,9 @@
}

.toc {
@apply max-sm:hidden sm:flex sm:flex-col max-lg:row-start-1 lg:col-[span_1_/_-1] top-0 sticky max-h-screen h-fit box-border gap-y-4 -mt-14 pt-14;
@apply max-sm:hidden sm:flex sm:flex-col max-lg:row-start-1
lg:col-[span_1_/_-1] top-0 sticky max-h-screen h-fit box-border gap-y-4
-mt-14 pt-14;

> div {
@apply max-h-full lg:overflow-y-auto;
Expand Down
Loading

0 comments on commit 93f4ce3

Please sign in to comment.