Skip to content

Commit

Permalink
fix: #384 outline fouces on the cards
Browse files Browse the repository at this point in the history
  • Loading branch information
dmijatovic committed Jul 11, 2022
1 parent a2e477a commit b872a6e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/components/organisation/OrganisationGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default function OrganisationsGrid({organisations}:

return (
<FlexibleGridSection
className="gap-[0.125rem] pt-4 pb-12"
className="gap-[0.125rem] p-[0.125rem] pt-4 pb-12"
height='17rem'
minWidth={minWidth}
maxWidth='1fr'
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/projects/ProjectsGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type ProjectGridProps = FlexGridProps & {
}

// render software cards
export default function ProjectsGrid({projects,className='gap-[0.125rem] py-[2rem]',...props}:ProjectGridProps){
export default function ProjectsGrid({projects,className='gap-[0.125rem] p-[0.125rem] py-[2rem]',...props}:ProjectGridProps){
if (typeof projects == 'undefined' || projects.length===0){
return <NoContent />
}
Expand Down
6 changes: 3 additions & 3 deletions frontend/pages/projects/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {ssrProjectsParams} from '../../utils/extractQueryParam'
import {ssrProjectsUrl} from '../../utils/postgrestUrl'
import DefaultLayout from '../../components/layout/DefaultLayout'
import PageTitle from '../../components/layout/PageTitle'
import ProjectGrid from '../../components/projects/ProjectsGrid'
import ProjectsGrid from '../../components/projects/ProjectsGrid'
import Searchbox from '../../components/form/Searchbox'

const pageTitle = `Projects | ${app.title}`
Expand Down Expand Up @@ -85,12 +85,12 @@ export default function ProjectsIndexPage({count,page,rows,projects=[]}:
/>
</div>
</PageTitle>
<ProjectGrid
<ProjectsGrid
projects={projects}
height='17rem'
minWidth={minWidth}
maxWidth='1fr'
className="gap-[0.125rem] pt-4 pb-12"
className="gap-[0.125rem] p-[0.125rem] pt-4 pb-12"
/>
</DefaultLayout>
)
Expand Down
1 change: 1 addition & 0 deletions frontend/pages/software/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export default function SoftwareIndexPage({count,page,rows,tags,software=[]}:
</div>
</PageTitle>
<SoftwareGrid
className='gap-[0.125rem] p-[0.125rem] pt-4 pb-12'
grid={{
height: '17rem',
minWidth,
Expand Down

0 comments on commit b872a6e

Please sign in to comment.