mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2026-03-11 10:03:51 +00:00
Created fake border with before and after pseudoelements for sticky table cells
This commit is contained in:
@@ -1,21 +1,20 @@
|
||||
@import '../utils/base';
|
||||
@import '../utils/mixins/sticky-cell';
|
||||
|
||||
.visits-table {
|
||||
margin: 1.5rem 0 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.visits-table__sticky {
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
.visits-table__header-cell {
|
||||
cursor: pointer;
|
||||
top: $headerHeight - 2px;
|
||||
margin-bottom: 55px;
|
||||
background-color: white;
|
||||
z-index: 1;
|
||||
border: 1px solid #dee2e6;
|
||||
|
||||
@include sticky-cell();
|
||||
|
||||
&.visits-table__sticky {
|
||||
top: $headerHeight - 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.visits-table__header-cell--no-action {
|
||||
@@ -31,6 +30,10 @@
|
||||
.visits-table__footer-cell.visits-table__footer-cell {
|
||||
bottom: 0;
|
||||
margin-top: 34px;
|
||||
background-color: white;
|
||||
padding: .5rem;
|
||||
@include sticky-cell();
|
||||
}
|
||||
|
||||
.visits-table__sticky.visits-table__sticky {
|
||||
position: sticky;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user