Move SpellList above CharacterSheet so it's visible without scrolling
Also delete stale compiled .js files that were shadowing the .tsx source and causing Vite to serve the old pre-spells versions of all components. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7cde985a21
commit
80eb50d359
3 changed files with 20 additions and 19 deletions
|
|
@ -97,7 +97,8 @@
|
|||
}
|
||||
|
||||
.restRow {
|
||||
margin-top: 1rem;
|
||||
margin-top: 0.5rem;
|
||||
margin-bottom: 1.25rem;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -80,21 +80,6 @@ export default function CharacterDetail({
|
|||
</button>
|
||||
</div>
|
||||
|
||||
<CharacterSheet
|
||||
character={character}
|
||||
mode={mode}
|
||||
campaignId={campaignId}
|
||||
critKeys={critKeys}
|
||||
onUpdate={onUpdate}
|
||||
onStatChange={onStatChange}
|
||||
onAddGearFromItem={onAddGearFromItem}
|
||||
onAddGearCustom={onAddGearCustom}
|
||||
onRemoveGear={onRemoveGear}
|
||||
onAddTalent={onAddTalent}
|
||||
onRemoveTalent={onRemoveTalent}
|
||||
onDelete={onDelete}
|
||||
/>
|
||||
|
||||
<SpellList
|
||||
characterId={character.id}
|
||||
characterClass={character.class}
|
||||
|
|
@ -116,6 +101,21 @@ export default function CharacterDetail({
|
|||
</button>
|
||||
</div>
|
||||
)}
|
||||
|
||||
<CharacterSheet
|
||||
character={character}
|
||||
mode={mode}
|
||||
campaignId={campaignId}
|
||||
critKeys={critKeys}
|
||||
onUpdate={onUpdate}
|
||||
onStatChange={onStatChange}
|
||||
onAddGearFromItem={onAddGearFromItem}
|
||||
onAddGearCustom={onAddGearCustom}
|
||||
onRemoveGear={onRemoveGear}
|
||||
onAddTalent={onAddTalent}
|
||||
onRemoveTalent={onRemoveTalent}
|
||||
onDelete={onDelete}
|
||||
/>
|
||||
</div>
|
||||
|
||||
{castResult && (
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
.container {
|
||||
margin-top: 1.5rem;
|
||||
padding-top: 1rem;
|
||||
border-top: 1px solid rgba(var(--gold-rgb), 0.15);
|
||||
margin-bottom: 1.25rem;
|
||||
padding-bottom: 0.5rem;
|
||||
border-bottom: 1px solid rgba(var(--gold-rgb), 0.15);
|
||||
}
|
||||
|
||||
.header {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue