Commit 7cd940c0 authored by 罗超's avatar 罗超

1

parent 886f93ae
......@@ -142,4 +142,26 @@
td:first-child, th:first-child
position: sticky
left: 0
\ No newline at end of file
left: 0
.sticky-two-header-table
/* height or max-height is important */
.q-table__top,
.q-table__bottom,
thead tr::nth-child(-n+2) th
/* bg color is important for th; just specify one */
background-color: #f5f6f7
thead tr th
position: sticky
z-index: 2 !important
thead tr th:nth-child(-n+2)
z-index: 3 !important
thead tr:first-child th
top: 0
/* this is when the loading indicator appears */
&.q-table--loading thead tr:last-child th
/* height of all previous header rows */
top: 48px
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment