mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-19 07:26:22 +00:00
fix: corregidos botones y espacios en details de instancias
This commit is contained in:
parent
ecab598595
commit
5ee9c49529
5 changed files with 22 additions and 17 deletions
|
@ -1,3 +1,3 @@
|
|||
-# Componente Botón general Moderación
|
||||
|
||||
%button.btn.btn-lg.mx-2{ href: href, class: local_assigns[:class] }= text
|
||||
%button.btn.mx-2{ href: href, class: local_assigns[:class] }= text
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
-# Componente Botonera de Comentarios
|
||||
|
||||
.d-flex.py-4
|
||||
- btn_class = 'btn-secondary'
|
||||
= render 'components/btn_base', text: t('.text_pause'), class: btn_class, href: ''
|
||||
= render 'components/btn_base', text: t('.text_reject'), class: btn_class, href: ''
|
||||
|
|
|
@ -2,6 +2,11 @@
|
|||
- host ||= instance['uri']
|
||||
- host = "https://#{host}"
|
||||
|
||||
.row.no-gutters.pt-2
|
||||
.col-1
|
||||
= render 'components/checkbox'
|
||||
.col-11
|
||||
%h4
|
||||
%a{ href: host }= instance['title']
|
||||
%p= instance['description'].html_safe
|
||||
%p
|
||||
|
|
|
@ -5,8 +5,9 @@
|
|||
= render 'moderation_queue/instance', instance: instance
|
||||
|
||||
-# Botones moderación
|
||||
.d-flex.py-5
|
||||
.d-flex.pb-4
|
||||
= render 'components/instances_btn_box'
|
||||
%hr
|
||||
|
||||
%h3.mt-5= t('moderation_queue.instances.title')
|
||||
%lead= t('moderation_queue.instances.description')
|
||||
|
|
|
@ -5,5 +5,5 @@
|
|||
= render 'moderation_queue/comment', comment: comment, profile: comment['attributedTo']
|
||||
|
||||
-# Botones moderación
|
||||
.d-flex.py-4
|
||||
.d-flex
|
||||
= render 'components/comments_btn_box'
|
||||
|
|
Loading…
Reference in a new issue