Skip to content

Commit 9a70ee8

Browse files
authored
Merge pull request #198 from erdnaxe/html-fixes
html: multiple template fixes
2 parents be0fd75 + 4d4990c commit 9a70ee8

File tree

3 files changed

+178
-225
lines changed

3 files changed

+178
-225
lines changed

src/html/htmlcompare_cli.rs

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,22 @@ fn html_page(title: &str, table: &str) -> String {
4242
<head>
4343
<meta charset="UTF-8">"#,
4444
&title,
45-
r##"</head>
46-
<style>
47-
table thead tr th {
48-
position: sticky;
49-
top: 0;
50-
z-index: 6;
51-
background: white;
52-
}
53-
td:first-child {
54-
position: sticky;
55-
left: 0;
56-
z-index: 5;
57-
background: white;
58-
}
59-
</style>
45+
r##"
46+
<style>
47+
table thead tr th {
48+
position: sticky;
49+
top: 0;
50+
z-index: 6;
51+
background: white;
52+
}
53+
td:first-child {
54+
position: sticky;
55+
left: 0;
56+
z-index: 5;
57+
background: white;
58+
}
59+
</style>
60+
</head>
6061
<body>"##,
6162
&header,
6263
table,

src/html/index.template.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<nav class="navbar navbar-inverse">
1414
<div class="container">
1515
<div class="navbar-header">
16-
<a class="navbar-brand active" href="#"">Device Coverage</a>
16+
<a class="navbar-brand active" href="#">Device Coverage</a>
1717
</div>
1818
<div class="navbar-collapse collapse">
1919
<ul class="nav navbar-nav">

0 commit comments

Comments
 (0)