mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 20:26:22 +00:00
fix: cambiaba el padding del details de 'Agregar contenido' al abrirlo #16509
This commit is contained in:
parent
a8297a9349
commit
d098fa7131
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
||||||
- local_assigns[:closed] ||= '▶'.html_safe
|
- local_assigns[:closed] ||= '▶'.html_safe
|
||||||
- local_assigns[:open] ||= '▼'.html_safe
|
- local_assigns[:open] ||= '▼'.html_safe
|
||||||
|
|
||||||
%details.details.py-2{ id: local_assigns[:id],
|
%details.details{ id: local_assigns[:id],
|
||||||
data: { controller: 'details',
|
data: { controller: 'details',
|
||||||
action: 'toggle->details#store' },
|
action: 'toggle->details#store' },
|
||||||
class: local_assigns[:details_class] }
|
class: local_assigns[:details_class] }
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
%button.btn.btn-secondary.mt-3{ type: 'submit' }= t('posts.filters.submit')
|
%button.btn.btn-secondary.mt-3{ type: 'submit' }= t('posts.filters.submit')
|
||||||
= render 'layouts/details',
|
= render 'layouts/details',
|
||||||
summary: t('posts.new'),
|
summary: t('posts.new'),
|
||||||
summary_class: 'h4 magenta font-weight-bold m-0 px-2',
|
summary_class: 'h4 magenta font-weight-bold m-0 px-2 py-2',
|
||||||
details_class: 'details-agregar',
|
details_class: 'details-agregar',
|
||||||
open: '+', closed: '+',
|
open: '+', closed: '+',
|
||||||
open_class: 'h1 magenta font-weight-bold m-0',
|
open_class: 'h1 magenta font-weight-bold m-0',
|
||||||
|
|
Loading…
Reference in a new issue