diff --git a/src/app/[locale]/reeglid/page.tsx b/src/app/[locale]/reeglid/page.tsx index 0886779..a84b859 100644 --- a/src/app/[locale]/reeglid/page.tsx +++ b/src/app/[locale]/reeglid/page.tsx @@ -18,7 +18,7 @@ export default async function RulesMenu({ const boxStyle = `-skew-x-2 md:-skew-x-5 text-white md:px-12 hover:scale-103 transition-all duration-150 w-full md:w-xl lg:w-[400px]`; - const boxTextStyle = `text-3xl ${vipnagorgialla.className} font-bold uppercase text-[#EEE5E5] pb-2`; + const boxTextStyle = `text-2xl md:text-3xl ${vipnagorgialla.className} font-bold uppercase text-[#EEE5E5] pb-2 break-normal whitespace-pre-line`; return (
@@ -48,10 +48,13 @@ export default async function RulesMenu({ {/* Minitourn. link coming soon*/} {/**/} -
-

- {t("rules.miniRules")} -

+ {/* ajutine div. kui asendate lingiga, siis saab selle ära võtta */} +
+
+

+ {t("rules.miniRules")} +

+
{/**/}
diff --git a/translations/en.json b/translations/en.json index 91c4fe5..8e41706 100644 --- a/translations/en.json +++ b/translations/en.json @@ -206,7 +206,7 @@ "houseRules": "House Rules", "cs2Rules": "CS2 Rules", "lolRules": "LoL Rules", - "miniRules": "Mini-tournament Rules" + "miniRules": "Mini-tournament\n Rules" }, "admin": { "title": "Admin", diff --git a/translations/et.json b/translations/et.json index 9b4988a..12b5bd4 100644 --- a/translations/et.json +++ b/translations/et.json @@ -205,9 +205,9 @@ "rules": { "title": "Reeglid", "houseRules": "Kodukord", - "cs2Rules": "CS2 Reeglid", - "lolRules": "LoL Reeglid", - "miniRules": "Miniturniiride Reeglid" + "cs2Rules": "CS2 reeglid", + "lolRules": "LoL reeglid", + "miniRules": "Miniturniiride\n reeglid" }, "admin": { "title": "Haldus",