From ab860192868cb8da46e7ac2f21d9cb3e305c1a87 Mon Sep 17 00:00:00 2001 From: f Date: Fri, 19 Feb 2021 14:31:38 -0300 Subject: [PATCH] emprolijar barra de herramientas --- app/views/posts/attributes/_content.haml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/app/views/posts/attributes/_content.haml b/app/views/posts/attributes/_content.haml index 715f6c2..e571877 100644 --- a/app/views/posts/attributes/_content.haml +++ b/app/views/posts/attributes/_content.haml @@ -13,7 +13,7 @@ dir: dir, lang: locale, **field_options(attribute, metadata), class: 'd-none' - .editor-toolbar + .editor-toolbar{ style: 'z-index: 1' } .editor-primary-toolbar.scrollbar-black %button.btn{ type: 'button', data: { editor: { button: 'mark-bold' } } }= t('editor.bold') %button.btn{ type: 'button', data: { editor: { button: 'mark-italic' } } }= t('editor.italic') @@ -45,15 +45,16 @@ %input.form-control{ type: 'color', name: 'mark-color' }/ %div{ data: { editor: { auxiliary: 'multimedia' } } } - .col-12.col-lg.form-group.d-flex.align-items-end + .form-group .custom-file %input.custom-file-input{ type: 'file', name: 'multimedia-file' }/ %label.custom-file-label{ for: 'multimedia-file' }= t('editor.multimedia-select') - %button.btn{ type: 'button', name: 'multimedia-file-upload' }= t('editor.multimedia-upload') - .col-12.col-lg.form-group + .form-group %label{ for: 'multimedia-alt' }= t('editor.description') %input.form-control{ type: 'text', name: 'multimedia-alt' }/ - %button.btn{ type: 'button', name: 'multimedia-remove' }= t('editor.multimedia-remove') + .form-group + %button.btn{ type: 'button', name: 'multimedia-file-upload' }= t('editor.multimedia-upload') + %button.btn{ type: 'button', name: 'multimedia-remove' }= t('editor.multimedia-remove') .form-group{ data: { editor: { auxiliary: 'link' } } } %label{ for: 'link-url' }= t('editor.url')