Skip to content

Commit

Permalink
Overview Ui tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
ranven committed Oct 3, 2024
1 parent 36f43f2 commit d7e5f32
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,26 @@
}

.monitoring-overview {
width: 100%;

.monitoring-table {
border-collapse: separate;
border-spacing: 0;
width: 100%;
}

.table-header-cell {
padding: 15px;
padding: 8px !important;
margin-top: 10px !important;
text-align: left;
white-space: normal;
min-width: 7vw;
max-width: 7vw;
word-wrap: break-word;
vertical-align: top !important;
.faculty-header {
vertical-align: top !important;
font-size: 13px;
width: 100%;
}
}

.pie-chart-cell,
Expand All @@ -54,8 +61,9 @@
.accordion-header {
cursor: pointer;
margin: 15px 0 !important;
width: 100%;
vertical-align: middle !important;
width: 210px;
overflow: visible;
word-wrap: break-word;
&:hover {
text-decoration: underline;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ const MonitoringOverview = ({ t, lang, faculties }) => {
{
title: t('empty'),
value: colors.emptyAnswer.value || 0,
color: 'white',
color: '#fafbfb',
},
]

Expand Down Expand Up @@ -267,7 +267,7 @@ const MonitoringOverview = ({ t, lang, faculties }) => {
.sort((a, b) => a.text.localeCompare(b.text))
.map(faculty => (
<TableHeaderCell key={faculty.key} className="table-header-cell">
<Link to={`/faculty-monitoring/${faculty.key}`}>
<Link className="faculty-header" to={`/faculty-monitoring/${faculty.key}`}>
{faculty.text} {faculty.key}
</Link>
</TableHeaderCell>
Expand Down

0 comments on commit d7e5f32

Please sign in to comment.