refactor: use inline elements

This commit is contained in:
Carlos Valente
2025-01-24 16:12:08 +01:00
committed by Carlos Valente
parent a1d34c8f6c
commit a12694b186
26 changed files with 56 additions and 158 deletions
@@ -100,7 +100,7 @@ export default function ProjectData() {
<Panel.Card>
<Panel.SubHeader>
Project data
<div className={style.headerButtons}>
<Panel.InlineElements>
<Button variant='ontime-ghosted' size='sm' onClick={onReset} isDisabled={isSubmitting || !isDirty}>
Revert to saved
</Button>
@@ -113,7 +113,7 @@ export default function ProjectData() {
>
Save
</Button>
</div>
</Panel.InlineElements>
</Panel.SubHeader>
<Panel.Divider />
<Panel.Section>