diff --git a/resources/report/html/loot-plugin-item.html b/resources/report/html/loot-plugin-item.html
index 649c5626..23b7c5c7 100644
--- a/resources/report/html/loot-plugin-item.html
+++ b/resources/report/html/loot-plugin-item.html
@@ -24,6 +24,12 @@
/* Two-line items should be 72px high according to Material Design.
Squeeze the height to fit more items in. */
/*height: 72px;*/
+ height: 40px;
+ line-height: 40px;
+ font-size: 1rem;
+ }
+ :host-context(body[data-editors]) paper-item.two-line {
+ height: 40px;
}
#primary,
#secondary,
@@ -32,17 +38,19 @@
transition: 0.6s;
}
paper-item.two-line::shadow .button-content {
- padding: 14px 16px;
+ padding: 0px 16px;
}
:host-context(body[data-editors]) paper-item.two-line::shadow .button-content {
- padding: 7.5px 16px;
+ padding: 4.5px 16px;
}
#text {
/* Padding is disabled as otherwise text won't fit in correctly. */
/*padding: 4px 0;*/
- line-height: normal;
overflow: visible;
}
+ :host-context(body[data-editors]) #text {
+ line-height: normal;
+ }
:host-context(body[data-editors]) #primary {
/* MD spec says 16sp, but that doesn't fit, so use 14sp. */
/*font-size: 1.143rem;*/