Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine button columns #81

Merged
merged 1 commit into from
Jan 6, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions src/components/SearchResultsTable.tsx
Original file line number Diff line number Diff line change
@@ -120,7 +120,7 @@ function Row({
}} // opens/closes the card by clicking anywhere on the row
className="cursor-pointer"
>
<TableCell className="border-b-0 pr-0">
<TableCell className="border-b-0 flex gap-1">
<Tooltip
title={open ? 'Minimize Result' : 'Expand Result'}
placement="top"
@@ -133,8 +133,6 @@ function Row({
<KeyboardArrowIcon />
</IconButton>
</Tooltip>
</TableCell>
<TableCell className="border-b-0">
<Tooltip title="Open professor profile" placement="top">
<IconButton
aria-label="open professor profile"
@@ -361,8 +359,7 @@ const SearchResultsTable = ({
<Table stickyHeader aria-label="collapsible table">
<TableHead>
<TableRow>
<TableCell />
<TableCell>Profile</TableCell>
<TableCell>Actions</TableCell>
<TableCell>
<Tooltip
title="Average GPA Across Course Sections"