5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 13:31:42 +00:00

las tablas con cabeceras sticky usan el color de fondo del theme

This commit is contained in:
f 2022-04-30 18:42:50 -03:00
parent 8244532c5a
commit e4009e59dc
3 changed files with 4 additions and 3 deletions

View file

@ -126,6 +126,7 @@ ol.breadcrumb {
color: var(--foreground);
}
.table tr.sticky-top,
.form-control,
.custom-file-label {
background-color: var(--background);

View file

@ -71,8 +71,8 @@
%table.table{ data: { controller: 'reorder' } }
%caption.sr-only= t('posts.caption')
%thead
%tr
%th.border-0.background-white.position-sticky{ style: 'top: 0; z-index: 2', colspan: '4' }
%tr.sticky-top
%th.border-0{ colspan: '4' }
.d-flex.flex-row.justify-content-between
%div
= submit_tag t('posts.reorder.submit'), class: 'btn'

View file

@ -44,7 +44,7 @@
%col
%col
%thead
%tr.sticky-top.background-white
%tr.sticky-top
%th{ scope: 'col' }= t(".columns.#{column}.column")
%th{ scope: 'col' }= t('.columns.visits')
%tfoot