From 5d540320eccb87456b6825b3724f9876822a3b5a Mon Sep 17 00:00:00 2001 From: agaringer Date: Wed, 19 Jul 2023 18:45:18 -0400 Subject: [PATCH] Fix CSS namespace collisions --- styles/blades.css | 3 ++- templates/items/cohort.html | 2 +- templates/parts/cohort-block.html | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/styles/blades.css b/styles/blades.css index 1182425..ad881d0 100644 --- a/styles/blades.css +++ b/styles/blades.css @@ -186,7 +186,8 @@ .blades-in-the-dark .editor-content { min-height: 150px; } -.blades-in-the-dark .description { +.blades-in-the-dark .cohort-description, +.blades-in-the-dark .gang-description { font-style: italic; } .blades-in-the-dark i.nullifier { diff --git a/templates/items/cohort.html b/templates/items/cohort.html index 5f436b6..553ff98 100644 --- a/templates/items/cohort.html +++ b/templates/items/cohort.html @@ -39,7 +39,7 @@ -
+
{{#each system.gang_type as |gang_type key|}} {{#with (lookup ../system.gang_type_list gang_type)}} {{localize description}} diff --git a/templates/parts/cohort-block.html b/templates/parts/cohort-block.html index 265a174..5a9cca1 100644 --- a/templates/parts/cohort-block.html +++ b/templates/parts/cohort-block.html @@ -39,12 +39,12 @@
{{#each system.edges_list as |edge key|}} {{#if edge.selected }} -
{{localize edge.description}} ({{localize edge.label}})
+
{{localize edge.description}} ({{localize edge.label}})
{{/if}} {{/each}} {{#each system.flaws_list as |flaw key|}} {{#if flaw.selected }} -
{{localize flaw.description}} ({{localize flaw.label}})
+
{{localize flaw.description}} ({{localize flaw.label}})
{{/if}} {{/each}}