Skip to content

Commit

Permalink
Some further tweaks to sizes and layout
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Nov 12, 2024
1 parent 318640a commit 9279160
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/components/APITable/APITable.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
border-left: 2px solid var(--mantine-color-dark-3);
border-radius: rem(5px);
height: fit-content;
width: em(400px);
max-width: em(400px);
min-width: em(400px);
width: em(410px);
max-width: em(410px);
min-width: em(410px);

.header {
background-color: var(--mantine-color-dark-6);
Expand Down
2 changes: 1 addition & 1 deletion src/components/APITables/ActorsTable/ActorsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function HealthPills(props: { data: ActorHealthResponse; noData: boolean }) {
const readyText = data.ping ? 'ready' : 'not ready';

return (
<Group gap={12} style={{ flexWrap: 'nowrap' }}>
<Group gap={12} pl={8} style={{ flexWrap: 'nowrap' }}>
<Pill bg={data.is_deployed ? 'lime.9' : 'red.8'} style={{ maxWidth: rem(85) }}>
<APIStatusText size="xs" nodata={noData} defaultTooltipText={deployedTooltip}>
{deployedText}
Expand Down
4 changes: 2 additions & 2 deletions src/components/APITables/TelescopesTable/TelescopesTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function TelescopeParked(props: TelescopeStatusProps) {
}

return (
<Group gap={4} pr={4}>
<Group gap={4} pl={4} pr={4}>
{Pills}
<Box style={{ flexGrow: 1 }} />
<ParkButton refresh={props.refresh} />
Expand Down Expand Up @@ -164,7 +164,7 @@ function TelescopeConnected(props: TelescopeStatusProps) {
}, [data]);

return (
<Group gap={!allConnected ? 4 : 6} pr={4}>
<Group gap={!allConnected ? 4 : 6} pl={4} pr={4}>
{Pills}
<Box style={{ flexGrow: 1 }} />
{!allConnected && <ConnectButton refresh={props.refresh} />}
Expand Down

0 comments on commit 9279160

Please sign in to comment.