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

Improve Dependency Page CSS #3702

Merged
merged 1 commit into from
Oct 31, 2022
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
13 changes: 11 additions & 2 deletions src/web/app/src/components/DependenciesTable/Row.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ import { dependencyDiscoveryUrl } from '../../config';
const useStyles = makeStyles((theme) => ({
root: {
'& .MuiTableCell-body': {
fontSize: '14px',
fontFamily: 'Spartan',
fontSize: '16px',
color: theme.palette.text.secondary,
fontWeight: 700,
borderBottom: '0.01em solid #909090 !important',
},
cursor: 'pointer',
},
Expand All @@ -36,6 +38,9 @@ const useStyles = makeStyles((theme) => ({
color: theme.palette.text.secondary,
fontSize: '2rem !important',
},
dependencyInfoCell: {
borderBottom: '0.01em solid #909090 !important',
},
dependencyInfo: {
display: 'inline-flex',
alignItems: 'center',
Expand Down Expand Up @@ -142,7 +147,11 @@ export const Row = ({ dependency }: RowProps) => {
</TableCell>
</TableRow>
<TableRow>
<TableCell style={{ paddingBottom: 0, paddingTop: 0 }} colSpan={2}>
<TableCell
className={classes.dependencyInfoCell}
style={{ paddingBottom: 0, paddingTop: 0 }}
colSpan={2}
>
<Collapse in={open} timeout="auto" unmountOnExit>
{projectInfo && issues ? (
<Box className={classes.collapseBox}>
Expand Down