Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
7cd940c0
Commit
7cd940c0
authored
Dec 16, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
886f93ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
1 deletion
+23
-1
table.sass
src/assets/css/table.sass
+23
-1
No files found.
src/assets/css/table.sass
View file @
7cd940c0
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment