Skip to content

Commit

Permalink
relationship header fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DrOgres committed Nov 27, 2021
1 parent ed6255b commit 928fc7b
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ This system provides character sheets and items for your play, if you would lik

## Release Notes

v2.2.18
- Updated to v9 226
- fixed relationship header spacing

v2.2.17
- Finally (fingers crossed) squished the css graphical glitch on headers
- verified v9 compatibility for v9 224
Expand Down
2 changes: 1 addition & 1 deletion model/tab/player-note.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="flex row full">
<div class="flex column heavy-border relationships">
<b class="title" style="width: 89%; margin: auto;">{{localize "HEADER.RELATIONSHIPS"}}</b>
<b class="title" style="width: 89%; margin: 5px 16px 5px;">{{localize "HEADER.RELATIONSHIPS"}}</b>
<div class="relationships flex column margin">
<div class="relationship flex row center light-border">
<b class="name">{{localize "RELATIONSHIP.WT"}}</b>
Expand Down
11 changes: 11 additions & 0 deletions script/util/chat.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export const buildChatCard = function(type, data){
token: token,
speaker: ChatMessage.getSpeaker(),
user: game.user.id,
rollMode: game.settings.get("core", "rollMode"),
content: message
};
break;
Expand Down Expand Up @@ -71,6 +72,7 @@ export const buildChatCard = function(type, data){
chatData = {
speaker: ChatMessage.getSpeaker(),
user: game.user.id,
rollMode: game.settings.get("core", "rollMode"),
content: message
};
break;
Expand All @@ -86,6 +88,7 @@ export const buildChatCard = function(type, data){
chatData = {
speaker: ChatMessage.getSpeaker(),
user: game.user.id,
rollMode: game.settings.get("core", "rollMode"),
content: message
};
break;
Expand All @@ -111,6 +114,7 @@ export const buildChatCard = function(type, data){
chatData = {
speaker: ChatMessage.getSpeaker(),
user: game.user.id,
rollMode: game.settings.get("core", "rollMode"),
content: message
};
break;
Expand Down Expand Up @@ -140,6 +144,7 @@ export const buildChatCard = function(type, data){
chatData = {
speaker: ChatMessage.getSpeaker(),
user: game.user.id,
rollMode: game.settings.get("core", "rollMode"),
content: message
};
break;
Expand All @@ -155,6 +160,7 @@ export const buildChatCard = function(type, data){
chatData = {
speaker: ChatMessage.getSpeaker(),
user: game.user.id,
rollMode: game.settings.get("core", "rollMode"),
content: message
};
break;
Expand All @@ -169,6 +175,7 @@ export const buildChatCard = function(type, data){
chatData = {
speaker: ChatMessage.getSpeaker(),
user: game.user.id,
rollMode: game.settings.get("core", "rollMode"),
content: message
};
break;
Expand Down Expand Up @@ -196,6 +203,7 @@ export const buildChatCard = function(type, data){
chatData = {
speaker: ChatMessage.getSpeaker(),
user: game.user.id,
rollMode: game.settings.get("core", "rollMode"),
content: message
};
break;
Expand All @@ -222,6 +230,7 @@ export const buildChatCard = function(type, data){
chatData = {
speaker: ChatMessage.getSpeaker(),
user: game.user.id,
rollMode: game.settings.get("core", "rollMode"),
content: message
};
break;
Expand All @@ -234,9 +243,11 @@ export const buildChatCard = function(type, data){
"<b>" + game.i18n.localize("BIO.RELATIONSHIP") + ": </b>" + data.data.description + "</br>"+
"<b>" + game.i18n.localize("NOTES") + ": </b>" + data.data.notes + "</br>"
+`</div></div>`;

chatData = {
speaker: ChatMessage.getSpeaker(),
user: game.user.id,
rollMode: game.settings.get("core", "rollMode"),
content: message
};

Expand Down
4 changes: 2 additions & 2 deletions system.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
"name": "vaesen",
"title": "Vaesen",
"description": "Nordic horror role-playing",
"version": "2.2.17",
"version": "2.2.18",
"minimumCoreVersion": "0.8.6",
"compatibleCoreVersion": "9.224",
"compatibleCoreVersion": "9.226",
"templateVersion": 2,
"author": "perfectro, Dr Ogres, fvtt-fria-ligan",
"scripts": [],
Expand Down

0 comments on commit 928fc7b

Please sign in to comment.