a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

adjusted page width on dashboard to match editor

celine de7eda9d e2eac806

+13 -8
+2 -2
app/lish/[did]/[publication]/dashboard/PublicationDashboard.tsx
··· 14 14 let content = props.tabs[tab]; 15 15 16 16 return ( 17 - <div className="pubDashWrapper w-full flex flex-col items-stretch px-3"> 17 + <div className="pubDashWrapper w-full max-w-[var(--page-width-units)] flex flex-col items-stretch px-4 sm:px-3"> 18 18 <div className="pubDashTabWrapper flex flex-row gap-2 w-full justify-between border-b border-border text-secondary items-center"> 19 19 {props.icon && ( 20 20 <div ··· 27 27 }} 28 28 /> 29 29 )}{" "} 30 - <div className="font-bold grow text-tertiary max-w-full truncate pr-2"> 30 + <div className="font-bold grow text-tertiary max-w-full truncate pr-2 w-[1000px]"> 31 31 {props.name} 32 32 </div> 33 33 <div className="pubDashTabs flex flex-row gap-2">
+11 -6
app/lish/[did]/[publication]/dashboard/page.tsx
··· 73 73 > 74 74 <ThemeProvider entityID={null}> 75 75 <div className="w-screen h-screen flex place-items-center bg-[#FDFCFA]"> 76 - <div className="relative max-w-prose w-full h-full mx-auto flex sm:flex-row flex-col sm:items-stretch sm:px-6"> 77 - <div className="w-12 relative"> 78 - <Sidebar className="mt-6 p-2"> 79 - <Actions publication={publication.uri} /> 80 - </Sidebar> 76 + <div className="relative w-max h-full flex sm:flex-row flex-col sm:items-stretch "> 77 + <div 78 + className="spacer flex justify-end items-start" 79 + style={{ width: `calc(50vw - ((var(--page-width-units)/2))` }} 80 + > 81 + <div className="relative w-16 justify-items-end"> 82 + <Sidebar className="mt-6 p-2 "> 83 + <Actions publication={publication.uri} /> 84 + </Sidebar> 85 + </div> 81 86 </div> 82 87 <div 83 - className={`h-full overflow-y-scroll pt-4 sm:pl-5 sm:pt-8 w-full`} 88 + className={`h-full overflow-y-scroll pt-4 sm:pt-8 max-w-[var(--page-width-units)]`} 84 89 > 85 90 <PublicationDashboard 86 91 did={did}