No more mister nice guy, the main table's width is now set at 100%!

This commit is contained in:
echarp 2017-05-05 00:07:29 +02:00
parent 7eff55625d
commit 8112a4056f
8 changed files with 84984 additions and 2 deletions

View File

@ -23,6 +23,7 @@ p.full_address
text-transform: capitalize
body.events.index table
width: 100%
max-width: 100%
// So we can ellipse past events
table-layout: fixed
@ -31,7 +32,6 @@ body.events.index table
padding-bottom: 0.35em
text-transform: capitalize
td
width: (100%/7)
height: 4.8em
border: 1px solid #89B7E5
padding: 1px

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,21 @@
(function() {
$(document).on('turbolinks:load', function() {
return tinyMCE.init({
schema: 'html5',
menubar: false,
language: 'fr_FR',
selector: 'textarea.description',
content_css: '/assets/application-74c16b3b8c70a0ee2d3bc48bb2acbb9925fc52b1cd41171d7cb5063cd119ba3a.css',
entity_encoding: 'raw',
add_unload_trigger: true,
browser_spellcheck: true,
toolbar: [' bold italic strikethrough | bullist numlist outdent indent | alignleft aligncenter alignright alignjustify | link image media insertdatetime charmap table | undo redo | searchreplace | code visualblocks preview fullscreen'],
plugins: 'lists, advlist, autolink, link, image, charmap, paste, print, preview, table, fullscreen, searchreplace, media, insertdatetime, visualblocks, visualchars, wordcount, contextmenu, code'
});
});
$(document).on('turbolinks:before-cache', function() {
return tinymce.remove();
});
}).call(this);