tangled
alpha
login
or
join now
leaflet.pub
/
leaflet
289
fork
atom
a tool for shared writing and social publishing
289
fork
atom
overview
issues
27
pulls
pipelines
make footnotes text sm
awarm.space
4 days ago
10f35a13
3ae07878
+3
-3
2 changed files
expand all
collapse all
unified
split
components
Footnotes
FootnoteItemLayout.tsx
FootnoteSideColumnLayout.tsx
+2
-2
components/Footnotes/FootnoteItemLayout.tsx
···
10
10
className?: string;
11
11
}) {
12
12
let indexClassName =
13
13
-
"text-tertiary font-medium shrink-0 text-xs leading-normal no-underline hover:underline cursor-pointer";
13
13
+
"text-tertiary font-medium shrink-0 text-sm leading-normal no-underline hover:underline cursor-pointer";
14
14
15
15
let indexContent = <>{props.index}.</>;
16
16
17
17
return (
18
18
<div
19
19
id={props.id}
20
20
-
className={`footnote-item flex items-start gap-2 text-xs group/footnote ${props.className ?? ""}`}
20
20
+
className={`footnote-item flex items-start gap-2 text-sm group/footnote ${props.className ?? ""}`}
21
21
>
22
22
{props.indexHref ? (
23
23
<a href={props.indexHref} className={indexClassName}>
+1
-1
components/Footnotes/FootnoteSideColumnLayout.tsx
···
169
169
<div
170
170
ref={ref}
171
171
data-footnote-side-id={props.id}
172
172
-
className={`absolute left-0 right-0 text-xs footnote-side-enter footnote-side-item${overflows ? " has-overflow" : ""}${isFocused ? " footnote-side-focused" : ""}`}
172
172
+
className={`absolute left-0 right-0 text-sm footnote-side-enter footnote-side-item${overflows ? " has-overflow" : ""}${isFocused ? " footnote-side-focused" : ""}`}
173
173
style={{ top: props.top }}
174
174
>
175
175
{props.children}