Fix TODO (article global styles)

This commit is contained in:
Kalle (Sendou)
2021-12-10 23:45:03 +02:00
parent f9e11b19c5
commit de25132b52
2 changed files with 6 additions and 2 deletions

View File

@@ -5,6 +5,5 @@ export default function DefaultTab() {
const [, parentRoute] = useMatches();
const { description } = parentRoute.data as FindTournamentByNameForUrlI;
// TODO: margin on mobile
return <article style={{ whiteSpace: "pre-line" }}>{description}</article>;
return <article>{description}</article>;
}

View File

@@ -196,6 +196,11 @@ fieldset {
all: inherit;
}
article {
padding-inline: var(--s-3);
white-space: pre-line;
}
/* TODO: bug: white on white on Edge */
select {
all: unset;