Tighten Integration Health row spacing and make the list scrollable
Status text now sits close to the name instead of being pushed to the far edge, and the list caps at a fixed height with scroll so it stays usable as more integrations are added.
This commit is contained in:
parent
bcdecd86d6
commit
99ca1ba39c
1 changed files with 2 additions and 2 deletions
|
|
@ -289,9 +289,9 @@ export default function Infrastructure() {
|
|||
<div className="relative z-10 flex flex-col">
|
||||
<h3 style={sectionTitle}>Integration Health</h3>
|
||||
{integrations && integrations.length > 0 ? (
|
||||
<div className="flex flex-col gap-2">
|
||||
<div className="scrollbar-ghost flex flex-col gap-2" style={{ maxHeight: '140px', overflowY: 'auto' }}>
|
||||
{integrations.map((i) => (
|
||||
<div key={i.id} className="flex items-center justify-between">
|
||||
<div key={i.id} className="flex items-center gap-3">
|
||||
<span className="flex items-center gap-2" style={{ fontSize: '12px', color: '#E8E6E0' }}>
|
||||
<CircleCheck size={13} style={{ color: i.status === 'connected' ? '#2ECC71' : i.status === 'error' ? '#E74C3C' : '#7A7D85' }} />
|
||||
{i.name}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue