Skip to content

Commit

Permalink
fix: Update syntax hightlighting css file and set 100vh container (#1129
Browse files Browse the repository at this point in the history
)
  • Loading branch information
kamilogorek authored Feb 8, 2023
1 parent 0afc178 commit 0823582
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions www/pages/ignoring-rules.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ function IgnoringRulesPage() {
const html = renderMarkdown(md);

return (
<div class={tw`dark:bg-[#0d1117] dark:text-white py-6`}>
<div class={tw`dark:bg-[#0d1117] dark:text-white py-6 h-screen`}>
<div
class={tw`mx-auto max-w-screen-md px-6 sm:px-6 md:px-8 `}
>
<Head>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/gh/lucacasonato/manual@www/www/static/markdown.css"
href="https://cdn.jsdelivr.net/gh/lucacasonato/manual@df7ae27/www/static/markdown.css"
crossOrigin="anonymous"
/>
</Head>
Expand Down
2 changes: 1 addition & 1 deletion www/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ function IndexPage(props: PageProps) {
.filter((rule: RuleData) => rule.code.includes(search));

return (
<div class={tw`dark:bg-[#0d1117] dark:text-white py-6`}>
<div class={tw`dark:bg-[#0d1117] dark:text-white py-6 h-screen`}>
<div class={tw`mx-auto max-w-screen-md px-6 sm:px-6 md:px-8`}>
<Head>
<link
Expand Down

0 comments on commit 0823582

Please sign in to comment.