mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
fix class scrolling
This commit is contained in:
parent
3a28c7f789
commit
9ca001f2b4
2 changed files with 96 additions and 0 deletions
|
|
@ -1897,6 +1897,48 @@ fieldset.daggerheart.chat .daggerheart.chat {
|
|||
.daggerheart.sheet.class .class-feature button {
|
||||
width: 40px;
|
||||
}
|
||||
.daggerheart.sheet.class .window-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
.daggerheart.sheet.class .tab {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
display: none;
|
||||
}
|
||||
.daggerheart.sheet.class .tab.active {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
.daggerheart.sheet.class .tab .two-columns.even {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
.daggerheart.sheet.class .tab .two-columns.even fieldset {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 0;
|
||||
}
|
||||
.daggerheart.sheet.class .tab .two-columns.even fieldset .feature-list {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
min-height: 0;
|
||||
}
|
||||
.daggerheart.sheet.class .tab .fieldsets-section {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
min-height: 0;
|
||||
}
|
||||
.daggerheart.sheet.class .tab fieldset.two-columns {
|
||||
overflow-y: auto;
|
||||
min-height: 0;
|
||||
}
|
||||
.daggerheart.sheet.armor .window-content,
|
||||
.daggerheart.sheet.weapon .window-content,
|
||||
.daggerheart.sheet.beastform .window-content,
|
||||
|
|
|
|||
|
|
@ -27,6 +27,60 @@
|
|||
width: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
.window-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.tab {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
display: none;
|
||||
|
||||
&.active {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
// Class sheet has different structure
|
||||
.two-columns.even {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
overflow: hidden;
|
||||
|
||||
fieldset {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 0;
|
||||
|
||||
.feature-list {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
min-height: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.fieldsets-section {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
// Standard fieldset handling for class sheet
|
||||
fieldset {
|
||||
&.two-columns {
|
||||
overflow-y: auto;
|
||||
min-height: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.armor,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue