mirror of
https://github.com/sussy-code/smov.git
synced 2026-05-09 11:30:32 +00:00
fix spacing fix for futhark
This commit is contained in:
parent
ae1fda0549
commit
9695b03d50
1 changed files with 3 additions and 2 deletions
|
|
@ -187,12 +187,13 @@ export function getCountryCodeForLocale(locale: string): string | null {
|
|||
*/
|
||||
export function getLocaleInfo(locale: string): LocaleInfo | null {
|
||||
const realLocale = populateLanguageCode(locale);
|
||||
|
||||
document.body.style.wordSpacing = "normal";
|
||||
|
||||
const extraLang = extraLanguages[realLocale];
|
||||
if (extraLang) {
|
||||
if (extraLang.code === "futhark") {
|
||||
document.body.style.wordSpacing = "5px";
|
||||
} else {
|
||||
document.body.style.wordSpacing = "normal";
|
||||
}
|
||||
return extraLang;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue