Skip to content

Commit

Permalink
[v16] Add gap in Bots permissions banner (#50257)
Browse files Browse the repository at this point in the history
The old text was a little squished. The new banners dont have this
problem but the old ones in v16 need a little help
  • Loading branch information
avatus authored Dec 16, 2024
1 parent 6a116c5 commit 970f4f9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions web/packages/teleport/src/Bots/List/Bots.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import React, { useEffect, useState } from 'react';
import { useAttemptNext } from 'shared/hooks';
import { Link } from 'react-router-dom';
import { HoverTooltip } from 'shared/components/ToolTip';
import { Alert, Box, ButtonPrimary, Indicator } from 'design';
import { Alert, Flex, Box, ButtonPrimary, Indicator, Text } from 'design';

import {
FeatureBox,
Expand Down Expand Up @@ -129,8 +129,10 @@ export function Bots() {
<FeatureBox>
{!canListBots && (
<Alert kind="info" mt={4}>
You do not have permission to access Bots. Missing role permissions:{' '}
<code>bot.list</code>
<Flex gap={1}>
You do not have permission to access Bots. Missing role
permissions: <Text bold>bot.list</Text>
</Flex>
</Alert>
)}
<EmptyState />
Expand Down

0 comments on commit 970f4f9

Please sign in to comment.