From 35c35424e199038ba65d12222d1dcd4444085b6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Katri=20Lotam=C3=B5is?= Date: Thu, 25 Jun 2026 13:16:40 +0300 Subject: [PATCH] improve readability --- src/app/[locale]/kodukord/page.tsx | 14 +++++++------- src/components/RuleNav.tsx | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/[locale]/kodukord/page.tsx b/src/app/[locale]/kodukord/page.tsx index 96a6b5c..b7b9015 100644 --- a/src/app/[locale]/kodukord/page.tsx +++ b/src/app/[locale]/kodukord/page.tsx @@ -32,7 +32,7 @@ export default async function Page({ return (
-
+
{/* Main content */}
{/* Page title */} @@ -46,7 +46,7 @@ export default async function Page({ ruleType="kodukord" /> -
+
(

{props.children}

), ol: (props) => ( -
    +
      {props.children}
    ), ul: (props) => ( -
      +
        {props.children}
      ), p: (props) => ( -

      +

      {props.children}

      ), li: (props) => ( -
    • +
    • {props.children}
    • ), diff --git a/src/components/RuleNav.tsx b/src/components/RuleNav.tsx index f78e2ca..605f31a 100644 --- a/src/components/RuleNav.tsx +++ b/src/components/RuleNav.tsx @@ -62,7 +62,7 @@ export default function RuleNav({ sections }: RuleNavProps) { return (