Web: Move overflow and position properties to affect all columns

This commit is contained in:
Pablo Vazquez 2022-05-30 15:44:38 +02:00
parent 9d59ab0505
commit 74f875957f
2 changed files with 8 additions and 13 deletions

View File

@ -101,6 +101,14 @@ body {
background-color: var(--color-background-column);
border-radius: var(--border-radius);
padding: var(--spacer-sm);
/* These two are necessary for the automatic resizing of the tasks table: */
/* Ensures that the table cannot push down the bottom of the column element,
* and thus the column height is a stable reference. */
overflow-y: auto;
/* Ensures the offsetParent of the table is the column itself; without this,
* offsetParent would be <body>. */
position: relative;
}
.col-1 {

View File

@ -240,17 +240,4 @@ export default {
.isFetching {
opacity: 50%;
}
#col-job-details {
/* These two are necessary for the automatic resizing of the tasks table: */
/* Ensures that the table cannot push down the bottom of the column element,
* and thus the column height is a stable reference. */
overflow-y: scroll;
/* Ensures the offsetParent of the table is the column itself; without this,
* offsetParent would be <body>. */
position: relative;
}
</style>