In manager display libelles with line breaks

This commit is contained in:
Mathieu Magnin 2018-01-11 11:03:34 +01:00
parent 49d5f276ae
commit e3ec8643db
4 changed files with 11 additions and 2 deletions

View file

@ -0,0 +1,8 @@
.types-de-champs-table {
table-layout: fixed;
td {
white-space: normal;
vertical-align: top;
}
}

View file

@ -1,5 +1,5 @@
- if field.data.any?
%table.collection-data{ "aria-labelledby": "page-title" }
%table.collection-data.types-de-champs-table{ "aria-labelledby": "page-title" }
%thead
%tr
%td.cell-label Libelle

View file

@ -20,6 +20,7 @@
= content_for(:title)
| #{Rails.application.class.parent_name.titlecase}
= render "stylesheet"
= stylesheet_link_tag "new_design/manager", media: "all", "data-turbolinks-track": true
= csrf_meta_tags
%body
.app-container

View file

@ -8,4 +8,4 @@ Rails.application.config.assets.version = '1.0'
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
Rails.application.config.assets.precompile += %w(print.css new_design/new_application.css new_design/print.css new_design/application.js)
Rails.application.config.assets.precompile += %w(print.css new_design/new_application.css new_design/print.css new_design/application.js new_design/manager.css)