File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
pytest_mpl/summary/templates Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 8
8
integrity ="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3 " crossorigin ="anonymous ">
9
9
< title > {{ results.title }}</ title >
10
10
</ head >
11
- < body class ="{{ results.classes | join(' ') }} " id ="results ">
11
+ < body {% if results.classes | length %} class ="{{ results.classes | join(' ') }} "{% endif %} id ="results ">
12
12
{% include 'navbar.html' %}
13
13
< div class ="album bg-light ">
14
14
< div class ="container-fluid ">
15
15
< div id ="noResultsAlert "> </ div >
16
- < div class ="row list ">
16
+ < div class ="row list " id =" resultslist " style =" display:none " >
17
17
{% filter indent(width=12) -%}
18
18
{% include 'result.html' %}
19
19
{%- endfilter %}
Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ if (window.location.search.length > 0) {
32
32
} else { // If no parameters, apply default but don't update the URL
33
33
resultsList . sort ( 'status-sort' , { order : "desc" } ) ;
34
34
}
35
+ // Show page after initial filtering to prevent flashing
36
+ document . getElementById ( 'resultslist' ) . style . display = null ;
35
37
36
38
// Show a message if no tests match current filters
37
39
var alertPlaceholder = document . getElementById ( 'noResultsAlert' ) ;
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ div.result div.status-badge button.btn-warning img {
42
42
filter : brightness (0 );
43
43
}
44
44
div .mpl-images {
45
- height : 1000 px ;
45
+ height : auto ;
46
46
}
47
47
div .hover-image {
48
48
position : relative;
You can’t perform that action at this time.
0 commit comments