From: Damien Lespiau <[email protected]> As we are using "sticky headers", the column headers stay apparent when scrolling down, we need to specify a white background to hide what's underneath.
With the addition of Seres, the patchlist table is not the only table we want this behaviour on, so let's make it a CSS class rather then a selector on the patchlist id. Signed-off-by: Damien Lespiau <[email protected]> Acked-by: Stephen Finucane <[email protected]> --- htdocs/css/style.css | 2 +- patchwork/templates/patchwork/patch-list.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/css/style.css b/htdocs/css/style.css index a5eac2e..96ae809 100644 --- a/htdocs/css/style.css +++ b/htdocs/css/style.css @@ -132,7 +132,7 @@ a.filter-action:hover { text-decoration: none; } -table#patchlist > thead { +table.pw-list > thead { background-color: white; } diff --git a/patchwork/templates/patchwork/patch-list.html b/patchwork/templates/patchwork/patch-list.html index 00cbb52..8400662 100644 --- a/patchwork/templates/patchwork/patch-list.html +++ b/patchwork/templates/patchwork/patch-list.html @@ -44,7 +44,7 @@ $(document).ready(function() { {% csrf_token %} <input type="hidden" name="form" value="patchlistform"/> <input type="hidden" name="project" value="{{project.id}}"/> -<table class="table table-hover table-condensed" id="patchlist"> +<table class="table table-hover table-condensed pw-list" id="patchlist"> <thead> <tr> {% if user.is_authenticated %} -- 2.0.0 _______________________________________________ Patchwork mailing list [email protected] https://lists.ozlabs.org/listinfo/patchwork
