Skip to content

Commit

Permalink
add one-off styling for the Power Off button
Browse files Browse the repository at this point in the history
  • Loading branch information
bnussman committed May 2, 2024
1 parent 4a95303 commit 7f27bad
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export const LinodeSelectTable = (props: Props) => {
>
Region
</TableSortCell>
{enablePowerOff && <TableCell></TableCell>}
{enablePowerOff && <TableCell sx={{ minWidth: 100 }} />}
</TableRow>
</TableHead>
<TableBody>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ export const LinodeSelectTableRow = (props: Props) => {
{onPowerOff && (
<TableCell actionCell>
{selected && linode.status !== 'offline' && (
<InlineMenuAction actionText="Power Off" onClick={onPowerOff} />
<InlineMenuAction
actionText="Power Off"
buttonHeight={43}
onClick={onPowerOff}
/>
)}
</TableCell>
)}
Expand Down

0 comments on commit 7f27bad

Please sign in to comment.