diff --git a/assets/css/planning.scss b/assets/css/planning.scss index 65835fdd..110f166f 100644 --- a/assets/css/planning.scss +++ b/assets/css/planning.scss @@ -28,6 +28,7 @@ $tableBoxSize: 40px; font-weight: 600; background-color: white; position: sticky; + white-space: nowrap; z-index: 99; top: 0; @@ -106,6 +107,7 @@ $tableBoxSize: 40px; td.item-data { white-space: nowrap; + font-size: 0.85em; } td.slot-box { diff --git a/templates/organization/planning/_availabilities_assets.html.twig b/templates/organization/planning/_availabilities_assets.html.twig index 02d9225d..e4a23411 100644 --- a/templates/organization/planning/_availabilities_assets.html.twig +++ b/templates/organization/planning/_availabilities_assets.html.twig @@ -16,8 +16,8 @@ {% block itemDataDetails %} {{ item.entity.hasMobileRadio ? 'common.yes' | trans : '-' }} {{ item.entity.hasFirstAidKit ? 'common.yes' | trans : '-' }} - {{ item.entity.contact | truncate(30) }} - {{ item.entity.parkingLocation | truncate(30) }} + {{ item.entity.contact | truncate(50) }} + {{ item.entity.parkingLocation | truncate(50) }} {{ item.entity.seatingCapacity }} {{ item.entity.licensePlate }} {{ item.entity.comments | truncate(50) }} diff --git a/templates/organization/planning/_availabilities_users.html.twig b/templates/organization/planning/_availabilities_users.html.twig index f9ba13c8..1366217d 100644 --- a/templates/organization/planning/_availabilities_users.html.twig +++ b/templates/organization/planning/_availabilities_users.html.twig @@ -23,8 +23,8 @@ {{ item.entity.identificationNumber }} {{ item.entity.phoneNumber }} {{ item.entity.emailAddress }} - {{ item.entity.occupation }} - {{ item.entity.organizationOccupation }} + {{ item.entity.occupation | truncate(50) }} + {{ item.entity.organizationOccupation | truncate(50) }} {% for skill in getDisplayableSkillsInPlanning(item.entity) -%} {{ skill|skillBadge }}