File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed
app/frontend/src/wells/components Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 26
26
</b-row >
27
27
<div class =" table-responsive" >
28
28
<table id =" searchResultsTable" class =" table table-striped" >
29
- <thead >
29
+ <thead class = " sticky-header " >
30
30
<tr >
31
31
<th
32
32
v-for =" column in columns"
@@ -398,4 +398,20 @@ $spinner-border-width-sm: .2em !default;
398
398
height : $spinner-height-sm ;
399
399
border-width : $spinner-border-width-sm ;
400
400
}
401
+
402
+ .sticky-header {
403
+ position : sticky ;
404
+ top : 0 ;
405
+ background-color : white ;
406
+ z-index : 2 ;
407
+ margin : 0 ; /* Remove any margin */
408
+ padding : 0 ; /* Remove any padding */
409
+ }
410
+
411
+ .sticky-header tr {
412
+ width : 100% ;
413
+ background-color : white ; /* Ensure the background color matches the table */
414
+ margin : 0 ; /* Remove any margin */
415
+ padding : 0 ; /* Remove any padding */
416
+ }
401
417
</style >
You can’t perform that action at this time.
0 commit comments