Region selector should be better displayed vertically
This commit is contained in:
parent
bab8ba32ab
commit
323ec7d276
@ -36,8 +36,10 @@
|
|||||||
background-color: white
|
background-color: white
|
||||||
label
|
label
|
||||||
display: none
|
display: none
|
||||||
|
padding: 0.2em 0.5em
|
||||||
input:checked + label
|
input:checked + label
|
||||||
display: inline
|
display: inline
|
||||||
|
padding: 0.5em
|
||||||
&:hover .radios
|
&:hover .radios
|
||||||
z-index: 1000
|
z-index: 1000
|
||||||
position: absolute
|
position: absolute
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@ -0,0 +1,23 @@
|
|||||||
|
(function() {
|
||||||
|
$(document).on('turbolinks:load', function() {
|
||||||
|
return tinyMCE.init({
|
||||||
|
schema: 'html5',
|
||||||
|
height: '40em',
|
||||||
|
menubar: '',
|
||||||
|
branding: false,
|
||||||
|
language: 'fr_FR',
|
||||||
|
selector: 'input.description',
|
||||||
|
content_css: '/assets/application-fb17db3f760af6f9539d031a589f8cef79804da76167b26e7e272e5aee93c729.css',
|
||||||
|
entity_encoding: 'raw',
|
||||||
|
add_unload_trigger: true,
|
||||||
|
browser_spellcheck: true,
|
||||||
|
toolbar: [' cut copy paste | undo redo | searchreplace | link image media charmap table | code visualblocks preview fullscreen', ' removeformat | bold italic strikethrough | superscript subscript | bullist numlist | alignleft aligncenter alignright alignjustify alignnone | outdent indent'],
|
||||||
|
plugins: 'lists, advlist, autolink, link, image, charmap, paste, print, preview, table, fullscreen, searchreplace, media, insertdatetime, visualblocks, wordcount, contextmenu, code'
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|
||||||
|
$(document).on('turbolinks:before-cache', function() {
|
||||||
|
return tinymce.remove();
|
||||||
|
});
|
||||||
|
|
||||||
|
}).call(this);
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user