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
28
pulls
pipelines
fixed x overscroll issue on discover
cozylittle.house
5 months ago
e56ef07b
21c319df
+4
-6
2 changed files
expand all
collapse all
unified
split
app
discover
SortedPublicationList.tsx
components
ActionBar
Navigation.tsx
+1
-1
app/discover/SortedPublicationList.tsx
···
11
11
}) {
12
12
let [order, setOrder] = useState(props.order);
13
13
return (
14
14
-
<div className="discoverHeader flex flex-col items-center px-4">
14
14
+
<div className="discoverHeader flex flex-col items-center ">
15
15
<SortButtons
16
16
order={order}
17
17
setOrder={(o) => {
+3
-5
components/ActionBar/Navigation.tsx
···
89
89
return (
90
90
<>
91
91
<HomeButton current={props.currentPage === "home"} />
92
92
-
<ReaderButton current={props.currentPage === "reader"} />
92
92
+
<ReaderButton current={props.currentPage === "discover"} />
93
93
<hr className="border-border-light my-1" />
94
94
<PublicationButtons currentPubUri={thisPublication?.uri} />
95
95
</>
···
130
130
nav
131
131
icon={<DiscoverSmall />}
132
132
label="Discover"
133
133
-
subtext={
134
134
-
!props.current ? "Check out what others are writing!" : undefined
135
135
-
}
136
136
-
className={props.current ? "bg-border-light! border-border" : ""}
133
133
+
subtext={"Check out what others are writing!"}
134
134
+
className={props.current ? "bg-bg-page! border-border-light!" : ""}
137
135
/>
138
136
</Link>
139
137
);