mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
fix: make adversary and character page both resizeable and scroll able; fix overflow issue in adversary page. (#283)
Co-authored-by: David.L <DavidLimk@pm.me>
This commit is contained in:
parent
488844603a
commit
ee4a5d17a6
3 changed files with 4 additions and 2 deletions
|
|
@ -8,6 +8,7 @@ export default class AdversarySheet extends DaggerheartSheet(ActorSheetV2) {
|
||||||
tag: 'form',
|
tag: 'form',
|
||||||
classes: ['daggerheart', 'sheet', 'actor', 'dh-style', 'adversary'],
|
classes: ['daggerheart', 'sheet', 'actor', 'dh-style', 'adversary'],
|
||||||
position: { width: 660, height: 766 },
|
position: { width: 660, height: 766 },
|
||||||
|
window: { resizable: true },
|
||||||
actions: {
|
actions: {
|
||||||
reactionRoll: this.reactionRoll,
|
reactionRoll: this.reactionRoll,
|
||||||
useItem: this.useItem,
|
useItem: this.useItem,
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
.window-content {
|
.window-content {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 275px 1fr;
|
grid-template-columns: 275px 1fr;
|
||||||
grid-template-rows: 283px 1fr;
|
grid-template-rows: auto 1fr;
|
||||||
gap: 15px 0;
|
gap: 15px 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,11 @@
|
||||||
.window-content {
|
.window-content {
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 275px 1fr;
|
grid-template-columns: 275px 1fr;
|
||||||
grid-template-rows: 283px 1fr;
|
grid-template-rows: auto 1fr;
|
||||||
gap: 15px 0;
|
gap: 15px 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
.character-sidebar-sheet {
|
.character-sidebar-sheet {
|
||||||
grid-row: 1 / span 2;
|
grid-row: 1 / span 2;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue