Merge pull request #5581 from NadavTasher/feature/default-lists-to-space-evenly

Make lists fill up space evenly, change listWidth to max-width
This commit is contained in:
Lauri Ojansivu 2024-11-18 03:24:56 +02:00 committed by GitHub
commit 12e50d93df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View file

@ -7,12 +7,14 @@
border-left: 1px solid #ccc;
padding: 0;
float: left;
flex: 1;
}
[id^="swimlane-"] .list:first-child {
min-width: 20px;
}
.list:first-child {
border-left: none;
flex: none;
}
.card-details + .list {
border-left: none;
@ -31,6 +33,9 @@
box-shadow: none;
height: 100px;
}
.list.list-collapsed {
flex: none;
}
.list.list-composer .open-list-composer,
.list .list-composer .open-list-composer {
color: #8c8c8c;

View file

@ -1,6 +1,6 @@
template(name='list')
.list.js-list(id="js-list-{{_id}}"
style="{{#unless collapsed}}width:{{listWidth}}px;{{/unless}}"
style="{{#unless collapsed}}max-width:{{listWidth}}px;{{/unless}}"
class="{{#if collapsed}}list-collapsed{{/if}}")
+listHeader
+listBody

View file

@ -1,8 +1,3 @@
@media screen and (min-width: 801px) {
.swimlane.ui-sortable {
width: max-content;
}
}
[class=swimlane] {
position: sticky;
left: 0;