a tool for shared writing and social publishing

hide page width setter on home

+10 -8
+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 - <PageWidthSetter 120 - entityID={props.entityID} 121 - thisPicker={"page-width"} 122 - openPicker={openPicker} 123 - setOpenPicker={setOpenPicker} 124 - closePicker={() => setOpenPicker("null")} 125 - /> 119 + {!props.home && ( 120 + <PageWidthSetter 121 + entityID={props.entityID} 122 + thisPicker={"page-width"} 123 + openPicker={openPicker} 124 + setOpenPicker={setOpenPicker} 125 + closePicker={() => setOpenPicker("null")} 126 + /> 127 + )} 126 128 <div className="themeBGLeaflet flex"> 127 129 <div className={`bgPicker flex flex-col gap-0 -mb-[6px] z-10 w-full `}> 128 - <div className="bgPickerBody w-full flex flex-col gap-2 p-2 mt-1 border border-[#CCCCCC] rounded-md"> 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"}