diff --git a/resources/report/html/loot-plugin-card.html b/resources/report/html/loot-plugin-card.html
index 660b41ab..e843d0da 100644
--- a/resources/report/html/loot-plugin-card.html
+++ b/resources/report/html/loot-plugin-card.html
@@ -86,27 +86,32 @@ loot-clear-metadata
}
/* Content styling. */
- ::content .tag, ::content ul {
+ content::content > .tag,
+ content::content > ul {
display: block;
padding: 0 1em 1em;
}
- ::content h1, h1 {
+ content::content > h1 {
display: inline-block;
font-weight: normal;
font-size: 1em;
margin: 0;
}
- ::content .version, .version {
+ content::content > .version {
display: inline-block;
margin-left: 1em;
color:#6394F8;
}
- ::content .crc, .crc {
+ content::content > .crc {
display: inline-block;
margin-left: 1em;
color:#BC8923;
}
- ::content .hidden, .hidden {
+ .hidden,
+ content::content > .hidden,
+ :host-context(#main[data-hide-crc]) content::content > .crc,
+ :host-context(#main[data-hide-tag]) content::content > .tag,
+ :host-context(#main[data-hide-version]) content::content > .version {
display: none;
}
@@ -312,4 +317,4 @@ loot-clear-metadata
},
});
-
\ No newline at end of file
+
diff --git a/resources/report/html/loot-plugin-editor.html b/resources/report/html/loot-plugin-editor.html
index 8e1b66aa..34128ec9 100644
--- a/resources/report/html/loot-plugin-editor.html
+++ b/resources/report/html/loot-plugin-editor.html
@@ -4,7 +4,7 @@ loot-editor-close
detail: boolean
True if the editor was closed using the Apply button.
---->
+-->
@@ -45,20 +45,23 @@ loot-editor-close
/* Content styling. */
h1 {
+ display: inline-block;
font-weight: normal;
font-size: 1em;
+ margin: 0;
}
- .version {
+ #version {
display: inline-block;
margin-left: 1em;
color:#6394F8;
}
- .crc {
+ #crc {
display: inline-block;
margin-left: 1em;
color:#BC8923;
}
- .hidden {
+ :host-context(#main[data-hide-version]) #version,
+ :host-context(#main[data-hide-crc]) #crc {
display: none;
}
@@ -149,9 +152,11 @@ loot-editor-close