fix #44 Lists not showing correctly in journal

This commit is contained in:
Vlyan
2023-03-06 13:52:43 +01:00
parent 12c8a70f60
commit 823b883d4e
3 changed files with 24 additions and 11 deletions

View File

@@ -3,16 +3,16 @@
* @extends {JournalSheet} * @extends {JournalSheet}
*/ */
export class BaseJournalSheetL5r5e extends JournalSheet { export class BaseJournalSheetL5r5e extends JournalSheet {
// /** @override */ /** @override */
// static get defaultOptions() { static get defaultOptions() {
// return foundry.utils.mergeObject(super.defaultOptions, { return foundry.utils.mergeObject(super.defaultOptions, {
// classes: ["l5r5e", "sheet", "journal"], // app window-app sheet journal-sheet classes: ["sheet", "journal-sheet", "journal-entry", "l5r5e", "sheet", "journal"], // sheet journal-sheet journal-entry
// template: CONFIG.l5r5e.paths.templates + "journal/journal-sheet.html", // template: CONFIG.l5r5e.paths.templates + "journal/journal-sheet.html",
// width: 520, // width: 520,
// height: 480, // height: 480,
// tabs: [{ navSelector: ".journal-tabs", contentSelector: ".journal-body", initial: "description" }], // tabs: [{ navSelector: ".journal-tabs", contentSelector: ".journal-body", initial: "description" }],
// }); });
// } }
/** /**
* Add the SendToChat button on top of sheet * Add the SendToChat button on top of sheet

File diff suppressed because one or more lines are too long

View File

@@ -893,6 +893,19 @@
flex: 100%; flex: 100%;
} }
} }
// Restore list style
&.journal .journal-page-content {
ul {
margin: 0.5rem 0;
}
li {
list-style-type: initial;
margin: 0.5rem 0 0.5rem 1.5rem;
padding: 0;
}
}
} }
// Lang Adjust. // Lang Adjust.
&.sheet { &.sheet {