+ |
+
+
+ {{ slot.data.name }}
+
+ |
{{#if slot.data.system.traitString}}
{{ slot.data.system.traitString }}
diff --git a/templates/Apps/HeroSummaryCardV1/style.css b/templates/Apps/HeroSummaryCardV1/style.css
index 1f8ef4f..57cabbe 100644
--- a/templates/Apps/HeroSummaryCardV1/style.css
+++ b/templates/Apps/HeroSummaryCardV1/style.css
@@ -91,13 +91,18 @@
display: grid;
grid-template-columns: subgrid;
grid-template-rows: subgrid;
- overflow-y: auto;
thead,
tbody,
tr {
display: contents;
}
+ td {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+ gap: 4px;
+ }
.row-alt > * {
background: inherit;
}
diff --git a/templates/css/elements/span.css b/templates/css/elements/span.css
index 65a1858..25c1ca9 100644
--- a/templates/css/elements/span.css
+++ b/templates/css/elements/span.css
@@ -3,6 +3,13 @@
font-size: var(--font-size-10)
}
+ &.ellipses {
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
+ }
+
+ /* Makes it so that spans are never less than the font size */
&:empty::before {
content: "\200b";
}
|