In manager display libelles with line breaks
This commit is contained in:
parent
49d5f276ae
commit
e3ec8643db
4 changed files with 11 additions and 2 deletions
8
app/assets/stylesheets/new_design/manager.scss
Normal file
8
app/assets/stylesheets/new_design/manager.scss
Normal file
|
@ -0,0 +1,8 @@
|
|||
.types-de-champs-table {
|
||||
table-layout: fixed;
|
||||
|
||||
td {
|
||||
white-space: normal;
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue