Make sheet tab scrollbars stable and remove fieldsets

This commit is contained in:
Carlos Fernandez 2026-07-01 20:22:25 -04:00
parent cdf6e7fdd0
commit 8f86d29569
39 changed files with 577 additions and 562 deletions

View file

@ -8,17 +8,11 @@
display: flex;
flex-direction: column;
gap: 10px;
height: 100%;
overflow-y: auto;
padding-top: 8px;
padding-bottom: 20px;
height: 100%;
.with-scroll-shadows();
flex: 1;
}
.characteristics-section {
gap: 20px;
padding: 0 10px;
}
.biography-section {

View file

@ -8,9 +8,6 @@
display: flex;
flex-direction: column;
gap: 10px;
overflow-y: auto;
padding-bottom: 20px;
.with-scroll-shadows();
}
}
}

View file

@ -8,9 +8,6 @@
display: flex;
flex-direction: column;
gap: 10px;
overflow-y: auto;
padding-bottom: 20px;
.with-scroll-shadows();
}
}
}

View file

@ -19,16 +19,19 @@
.application.sheet.daggerheart.actor.dh-style.character {
.character-header-sheet {
padding: 0 15px;
padding-top: var(--header-height);
width: 100%;
> *:not(line-div, .tab-navigation) {
margin-left: var(--side-indent);
margin-right: 15px;
}
.name-row {
display: flex;
gap: 6px;
align-items: start;
justify-content: space-between;
padding: 0;
padding-top: 5px;
flex: 1;
@ -100,8 +103,8 @@
.character-details {
display: flex;
justify-content: space-between;
padding: 5px 0;
margin-bottom: 8px;
margin-top: 5px;
margin-bottom: 10px;
font-size: var(--font-size-12);
color: @color-text-emphatic;
@ -130,7 +133,6 @@
.character-row {
display: flex;
align-items: center;
padding: 0;
margin-bottom: 12px;
.resource-section {
@ -218,7 +220,6 @@
.character-traits {
display: flex;
padding: 0;
margin-bottom: 15px;
justify-content: space-between;
max-width: 38.5rem;
@ -325,5 +326,9 @@
}
}
}
.tab-navigation button[data-action="openSettings"] {
margin-right: 12px;
}
}
}

View file

@ -1,8 +1,8 @@
@import './sheet.less';
@import './biography.less';
@import './effects.less';
@import './features.less';
@import './header.less';
@import './inventory.less';
@import './loadout.less';
@import './sheet.less';
@import './sidebar.less';

View file

@ -8,10 +8,6 @@
display: flex;
flex-direction: column;
gap: 10px;
overflow-y: auto;
margin-top: 20px;
padding-bottom: 20px;
.with-scroll-shadows();
}
}
}

View file

@ -50,11 +50,6 @@
display: flex;
flex-direction: column;
gap: 10px;
height: 100%;
overflow-y: auto;
margin-top: 20px;
padding-bottom: 20px;
.with-scroll-shadows();
}
}
}

View file

@ -2,6 +2,8 @@
@import '../../../utils/fonts.less';
.application.sheet.daggerheart.actor.dh-style.character {
--side-indent: 16px;
.window-content {
display: grid;
grid-template-columns: 275px 1fr;
@ -10,28 +12,34 @@
width: 100%;
padding-bottom: 0;
overflow-x: auto;
}
.character-sidebar-sheet {
grid-row: 1 / span 2;
grid-column: 1;
display: flex;
flex-direction: column;
}
.character-sidebar-sheet {
grid-row: 1 / span 2;
grid-column: 1;
.character-header-sheet {
position: relative;
grid-row: 1;
grid-column: 2;
}
.tab {
grid-row: 2;
grid-column: 2;
padding-right: 0;
margin-right: 2px;
margin-bottom: 12px;
&.active {
display: flex;
flex-direction: column;
}
.character-header-sheet {
overflow: hidden;
margin: 0 0 10px 0;
padding: 0;
position: relative;
grid-row: 1;
grid-column: 2;
}
.tab {
grid-row: 2;
grid-column: 2;
&.active {
display: flex;
flex-direction: column;
overflow: hidden;
}
}
}
}