fix(ui): align Timeline panel header with Application Log
Some checks failed
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 1m28s
CI / deploy (push) Has been cancelled
CI / deploy-feature (push) Has been cancelled
CI / docker (push) Has been cancelled

Both panels now use the same card wrapper (logStyles.logCard), header
container (logStyles.logHeader, 12px 16px padding), and DS SectionHeader
for the title. Previously Timeline rendered a custom 13px span while
Application Log used SectionHeader's uppercase style, so the two panels
side-by-side looked inconsistent.

Removes the now-orphaned .eventCard/.eventCardHeader/.sectionTitle and
.timelineCard/.timelineHeader CSS rules.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-17 15:41:29 +02:00
parent 9292bd5f5f
commit 57e1d09bc6
4 changed files with 6 additions and 43 deletions

View File

@@ -84,17 +84,3 @@
min-height: 300px;
}
/* Timeline card — card styling via sectionStyles.section */
.timelineCard {
overflow: hidden;
display: flex;
flex-direction: column;
}
.timelineHeader {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 16px;
border-bottom: 1px solid var(--border-subtle);
}

View File

@@ -481,9 +481,9 @@ export default function AgentInstance() {
</InfiniteScrollArea>
</div>
<div className={`${sectionStyles.section} ${styles.timelineCard}`}>
<div className={styles.timelineHeader}>
<span className={styles.chartTitle}>Timeline</span>
<div className={logStyles.logCard}>
<div className={logStyles.logHeader}>
<SectionHeader>Timeline</SectionHeader>
<div className={logStyles.headerActions}>
<span className={styles.chartMeta}>{eventStream.items.length} events</span>
<button className={logStyles.sortBtn} onClick={() => setEventSortAsc((v) => !v)} title={eventSortAsc ? 'Oldest first' : 'Newest first'}>