From 832ed0c1ff440c6bc889231d8041f8d871170fbb Mon Sep 17 00:00:00 2001 From: Jacob Date: Mon, 17 Jul 2017 04:43:39 +0100 Subject: [PATCH] A sort of hacky fix to the issue - text wrapping doesn't quite work --- .../features/featureDialog/featureDialog.html | 7 +++++-- .../character/inventory/itemDialog/itemDialog.html | 10 ++++------ .../character/spells/spellDialog/spellDialog.html | 8 +++++--- .../paperTemplates/inputSuffixes/inputSuffixes.css | 10 ++++++++++ .../paperTemplates/inputSuffixes/inputSuffixes.html | 7 +++++++ 5 files changed, 31 insertions(+), 11 deletions(-) create mode 100644 rpg-docs/client/views/paperTemplates/inputSuffixes/inputSuffixes.css diff --git a/rpg-docs/client/views/character/features/featureDialog/featureDialog.html b/rpg-docs/client/views/character/features/featureDialog/featureDialog.html index 02ea0ccf..c84b6cdf 100644 --- a/rpg-docs/client/views/character/features/featureDialog/featureDialog.html +++ b/rpg-docs/client/views/character/features/featureDialog/featureDialog.html @@ -68,8 +68,11 @@ {{/if}} - - + +
+ + {{> textareaBracketSuffix}} +
{{> effectsEditList parentId=_id parentCollection="Features" charId=charId name=name enabled=enabled}} {{> proficiencyEditList parentId=_id parentCollection="Features" charId=charId enabled=enabled}} diff --git a/rpg-docs/client/views/character/inventory/itemDialog/itemDialog.html b/rpg-docs/client/views/character/inventory/itemDialog/itemDialog.html index d167239a..3d0f6d31 100644 --- a/rpg-docs/client/views/character/inventory/itemDialog/itemDialog.html +++ b/rpg-docs/client/views/character/inventory/itemDialog/itemDialog.html @@ -61,12 +61,10 @@ - -
- This field accepts formulae in {curly brackets} - -
-
+
+ + {{> textareaBracketSuffix}} +
{{> effectsEditList parentId=_id parentCollection="Items" charId=charId enabled=equipped name=name}} diff --git a/rpg-docs/client/views/character/spells/spellDialog/spellDialog.html b/rpg-docs/client/views/character/spells/spellDialog/spellDialog.html index 07d9faa7..1a617223 100644 --- a/rpg-docs/client/views/character/spells/spellDialog/spellDialog.html +++ b/rpg-docs/client/views/character/spells/spellDialog/spellDialog.html @@ -111,8 +111,10 @@ - - - +
+ + {{> textareaBracketSuffix}} +
+ {{> attackEditList parentId=_id parentCollection="Spells" charId=charId enabled=true name=name}} diff --git a/rpg-docs/client/views/paperTemplates/inputSuffixes/inputSuffixes.css b/rpg-docs/client/views/paperTemplates/inputSuffixes/inputSuffixes.css new file mode 100644 index 00000000..4973b715 --- /dev/null +++ b/rpg-docs/client/views/paperTemplates/inputSuffixes/inputSuffixes.css @@ -0,0 +1,10 @@ +.textarea-bracket-suffix { + float: right; + position: absolute; + right: 6px; + bottom: 12px; +} + +.description-input { + position: relative; +} \ No newline at end of file diff --git a/rpg-docs/client/views/paperTemplates/inputSuffixes/inputSuffixes.html b/rpg-docs/client/views/paperTemplates/inputSuffixes/inputSuffixes.html index fc0964df..eeb7f49f 100644 --- a/rpg-docs/client/views/paperTemplates/inputSuffixes/inputSuffixes.html +++ b/rpg-docs/client/views/paperTemplates/inputSuffixes/inputSuffixes.html @@ -11,3 +11,10 @@ + +