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

Fix/tup 598 running jobs cut off #369

Merged
merged 2 commits into from
Nov 10, 2023
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
26 changes: 16 additions & 10 deletions apps/tup-ui/src/pages/Dashboard/Dashboard.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,18 @@
.panels {
display: grid;

/* To reproduce simple layout of narrow screens like CEPv2 */
@media (--wide-and-below) {
row-gap: 25px;
grid-template-rows: auto auto auto;
grid-template-areas:
"systems"
"projects_tickets"
"updates";
}
/* To reproduce complex layout of design doc */
@media (--wide-and-above) {
gap: 25px;
grid-template-columns: 0.65fr 0.35fr;
/*set first row as auto to prevent cutting off the sysmon*/
grid-template-rows: auto 1fr 1fr 1fr;
overflow:auto;
Expand All @@ -16,14 +24,12 @@
"projects_tickets updates"
"projects_tickets updates";
}
/* To reproduce simple layout of narrow screens like CEPv2 */
@media (--wide-and-below) {
row-gap: 25px;
grid-template-rows: auto auto auto;
grid-template-areas:
"systems"
"projects_tickets"
"updates";
/* To avoid System Status columns being cut off if at 0.65fr 0.35fr */
@media (--wide-to-x-wide) {
grid-template-columns: 0.5fr 0.5fr;
}
@media (--x-wide-and-above) {
grid-template-columns: 0.65fr 0.35fr;
}
}
.panels > * {
Expand All @@ -45,7 +51,7 @@
gap: 25px;
grid-template-columns: 1fr;
grid-template-rows: 1fr 1fr;
grid-template-areas:
grid-template-areas:
"projects"
"tickets";

Expand Down