add min height for table with max 2 files to display dropdown

This commit is contained in:
Lisa Durand 2023-09-19 17:50:38 +02:00
parent acc34fa30a
commit 83957a41cd
2 changed files with 6 additions and 1 deletions

View file

@ -65,3 +65,8 @@
}
}
}
// Hacky css to display dropdown "customize table" for table with only 1 or 2 lines
table.min-height-300 {
min-height: 300px;
}

View file

@ -91,7 +91,7 @@
= render batch_operation_component
.fr-table.fr-table--bordered
%table.table.dossiers-table.hoverable
%table.table.dossiers-table.hoverable.min-height-300
%thead
%tr
- if batch_operation_component.render?