Skip to content

Commit

Permalink
Responsive grid on /projects and `/projects/<some-project>/configur…
Browse files Browse the repository at this point in the history
…e` pages
  • Loading branch information
krystxf authored and roboquat committed Jan 19, 2022
1 parent 80ed096 commit e5210db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/dashboard/src/projects/ConfigureProject.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ export default function () {
}

return <ProjectSettingsPage project={project}>
<div className="flex space-x-4">
<div className="grid xl:grid-cols-2 grid-cols-1 gap-4">
<div className="flex-1 h-96 rounded-xl overflow-hidden relative flex flex-col">
<div className="flex bg-gray-50 dark:bg-gray-800 border-b border-gray-200 dark:border-gray-600 px-6 pt-3">
<TabMenuItem name=".gitpod.yml" selected={selectedEditor === '.gitpod.yml'} onClick={() => setSelectedEditor('.gitpod.yml')} />
Expand Down
2 changes: 1 addition & 1 deletion components/dashboard/src/projects/Projects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export default function () {
{team && <Link to="./members" className="flex"><button className="ml-2 secondary">Invite Members</button></Link>}
<button className="ml-2" onClick={() => onNewProject()}>New Project</button>
</div>
<div className="mt-4 grid grid-cols-3 gap-4 pb-40">
<div className="mt-4 grid lg:grid-cols-3 md:grid-cols-2 grid-cols-1 gap-4 pb-40">
{projects.filter(filter).sort(hasNewerPrebuild).map(p => (<div key={`project-${p.id}`} className="h-52">
<div className="h-42 border border-gray-100 dark:border-gray-800 rounded-t-xl">
<div className="h-32 p-6">
Expand Down

0 comments on commit e5210db

Please sign in to comment.