diff --git a/rpg-docs/client/globalHelpers/evaluate.js b/rpg-docs/client/globalHelpers/evaluate.js index df6000d3..d986b1f0 100644 --- a/rpg-docs/client/globalHelpers/evaluate.js +++ b/rpg-docs/client/globalHelpers/evaluate.js @@ -23,3 +23,11 @@ Template.registerHelper("evaluateSignedSpaced", function(charId, string) { Template.registerHelper("evaluateString", function(charId, string) { return evaluateString(charId, string); }); + +Template.registerHelper("evaluateShortString", function(charId, string) { + if (_.isString(string)){ + return evaluateString( + charId, string.split(/^( *[-*_]){3,} *(?:\n+|$)/m)[0] + ); + } +}); diff --git a/rpg-docs/client/style/cards.css b/rpg-docs/client/style/cards.css index 39067162..c38dfbb2 100644 --- a/rpg-docs/client/style/cards.css +++ b/rpg-docs/client/style/cards.css @@ -45,7 +45,7 @@ padding: 16px 0; } -.card .bottom.list .subhead { +.card .bottom.list .paper-font-subhead { color: rgba(0,0,0,0.54); font-size: 14px; font-weight: 500; @@ -79,3 +79,7 @@ .card .left paper-icon-button[disabled] { color: rgba(255, 255, 255, 0.2); } + +.card img, .card iron-image { + max-width: 100%; +} diff --git a/rpg-docs/client/views/character/features/features.html b/rpg-docs/client/views/character/features/features.html index 0da844f0..cda72b1e 100644 --- a/rpg-docs/client/views/character/features/features.html +++ b/rpg-docs/client/views/character/features/features.html @@ -102,7 +102,7 @@ {{#if description}}