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
hide page width setter on home
cozylittle.house
2 months ago
2bf60b64
cf958cb4
+10
-8
1 changed file
expand all
collapse all
unified
split
components
ThemeManager
ThemeSetter.tsx
+10
-8
components/ThemeManager/ThemeSetter.tsx
···
116
116
if (pub?.publications) return null;
117
117
return (
118
118
<div className="themeSetterContent flex flex-col w-full overflow-y-scroll no-scrollbar">
119
119
-
<PageWidthSetter
120
120
-
entityID={props.entityID}
121
121
-
thisPicker={"page-width"}
122
122
-
openPicker={openPicker}
123
123
-
setOpenPicker={setOpenPicker}
124
124
-
closePicker={() => setOpenPicker("null")}
125
125
-
/>
119
119
+
{!props.home && (
120
120
+
<PageWidthSetter
121
121
+
entityID={props.entityID}
122
122
+
thisPicker={"page-width"}
123
123
+
openPicker={openPicker}
124
124
+
setOpenPicker={setOpenPicker}
125
125
+
closePicker={() => setOpenPicker("null")}
126
126
+
/>
127
127
+
)}
126
128
<div className="themeBGLeaflet flex">
127
129
<div className={`bgPicker flex flex-col gap-0 -mb-[6px] z-10 w-full `}>
128
128
-
<div className="bgPickerBody w-full flex flex-col gap-2 p-2 mt-1 border border-[#CCCCCC] rounded-md">
130
130
+
<div className="bgPickerBody w-full flex flex-col gap-2 p-2 mt-[6px] border border-[#CCCCCC] rounded-md">
129
131
<LeafletBGPicker
130
132
entityID={props.entityID}
131
133
thisPicker={"leaflet"}