File tree Expand file tree Collapse file tree
pages/projects/[projectId]/summary Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ const CollapseCard = ({
2424 const tooltipId = tooltipContent ? uuidv4 ( ) : undefined
2525
2626 return (
27- < div className = { clsx ( "collapse collapse-arrow bg-base-300 overflow-visible " , className ) } >
27+ < div className = { clsx ( "collapse collapse-arrow bg-base-300 w-full max-w-full " , className ) } >
2828 < input type = "checkbox" data-tooltip-id = { tooltipId } defaultChecked = { defaultOpen } />
29- < div className = "collapse-title text-xl font-medium" >
30- < div className = "card-title" > { title } </ div >
29+ < div className = "collapse-title text-xl font-medium min-w-0 pr-10 " >
30+ < div className = "card-title truncate " > { title } </ div >
3131 { tooltipContent && (
3232 < TooltipWrapper
3333 id = { tooltipId }
@@ -37,8 +37,8 @@ const CollapseCard = ({
3737 ) }
3838 </ div >
3939
40- < div className = "collapse-content" >
41- < div className = "w-full overflow-visible " > { children } </ div >
40+ < div className = "collapse-content min-w-0 " >
41+ < div className = "w-full min-w-0 " > { children } </ div >
4242 { actions && < div className = "card-actions justify-end" > { actions } </ div > }
4343 </ div >
4444 </ div >
Original file line number Diff line number Diff line change @@ -245,18 +245,18 @@ const Summary = () => {
245245 { project . formVersionId ? (
246246 < >
247247 < MetadataDisplay metadata = { project . metadata } />
248- < div className = "flex flex-wrap gap-2 justify-end max-w-xl " >
248+ < div className = "flex flex-wrap md:flex-nowrap gap-2 justify-end" >
249249 < DownloadJSON
250250 data = { project . metadata }
251251 fileName = { project . name }
252- className = "btn btn-primary"
252+ className = "btn btn-primary whitespace-nowrap "
253253 type = "button"
254254 label = "Download Metadata JSON"
255255 />
256256 < DownloadXLSX
257257 data = { project . metadata }
258258 fileName = { project . name }
259- className = "btn btn-secondary mx-2 "
259+ className = "btn btn-secondary whitespace-nowrap "
260260 type = "button"
261261 label = "Download Metadata XLSX"
262262 />
@@ -265,7 +265,7 @@ const Summary = () => {
265265 uiSchema = { getJsonSchema ( project . formVersion ?. uiSchema ) }
266266 metadata = { project . metadata }
267267 label = { "Edit Project Metadata" }
268- classNames = "btn-info"
268+ classNames = "btn-info whitespace-nowrap "
269269 onSubmit = { handleJsonFormSubmit }
270270 onError = { handleJsonFormError }
271271 resetHandler = { handleResetMetadata }
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { TaskLogTable } from "./TaskLogTable"
66// Create task summary for the PM
77export const TaskSummary = ( { contributorFilter } : { contributorFilter ?: number } ) => {
88 return (
9- < div className = "flex flex-row justify-center mt-2 mb-2" >
9+ < div className = "flex flex-row justify-center mt-4 mb-2" >
1010 { /* overall project information */ }
1111 < CollapseCard title = "Task Completion" className = "w-full" defaultOpen = { true } >
1212 { ! contributorFilter && (
You can’t perform that action at this time.
0 commit comments