Skip to content

Commit db8d918

Browse files
committed
Fix Traveler
1 parent e39dd94 commit db8d918

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pages/characters/[name].tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export default function CharacterWebpage({ char, location, characterCurves, cost
9696
{char.ascensionCosts && <AscensionCosts costs={char.ascensionCosts} />}
9797
{char.skills && <TalentCosts skills={char.skills} />}
9898
{guides && guides.length > 0 && <Guides guides={guides} />}
99+
<div className="clear-both"/>
99100
{isFullCharacter(char) && characterCurves && <Stats char={char} curves={characterCurves} />}
100101
{char.ascensionCosts && costTemplates && <FullAscensionCosts template={char.ascensionCosts} costTemplates={costTemplates} />}
101102
{char.media.videos && <Videos videos={char.media.videos} />}
@@ -109,7 +110,7 @@ export default function CharacterWebpage({ char, location, characterCurves, cost
109110
function TOC({ href, title, depth = 0 }: { href: string, title: string, depth?: number }) {
110111
const size = depth > 0 ? "sm" : "base"
111112
return <div>
112-
<FormattedLink href={href} size={size} className={`ml-${depth}`}>{title}</FormattedLink>
113+
<FormattedLink href={href} size={size} style={({ marginLeft: (0.25 * depth) + "rem" })}>{title}</FormattedLink>
113114
</div>
114115
}
115116

0 commit comments

Comments
 (0)