fix(ui): align Timeline panel header with Application Log
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:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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'}>
|
||||
|
||||
Reference in New Issue
Block a user