Skip to content

Commit 255bd94

Browse files
feat(dashboards): Widget Viewer beta badge and style (#32588)
Beta Feature Badge and slight improvement to Multi Query text style
1 parent 24a0f99 commit 255bd94

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

static/app/components/modals/widgetViewerModal.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import moment from 'moment';
99
import {ModalRenderProps} from 'sentry/actionCreators/modal';
1010
import Button from 'sentry/components/button';
1111
import ButtonBar from 'sentry/components/buttonBar';
12+
import FeatureBadge from 'sentry/components/featureBadge';
1213
import SelectControl from 'sentry/components/forms/selectControl';
1314
import GridEditable, {
1415
COL_WIDTH_MINIMUM,
@@ -405,6 +406,7 @@ function WidgetViewerModal(props: Props) {
405406
<Tooltip title={widget.title} showOnlyOnOverflow>
406407
<WidgetTitle>{widget.title}</WidgetTitle>
407408
</Tooltip>
409+
<FeatureBadge type="beta" />
408410
</StyledHeader>
409411
<Body>{renderWidgetViewer()}</Body>
410412
<StyledFooter>
@@ -437,6 +439,7 @@ export const modalCss = css`
437439
const headerCss = css`
438440
margin: -${space(4)} -${space(4)} 0px -${space(4)};
439441
line-height: normal;
442+
display: flex;
440443
`;
441444
const footerCss = css`
442445
margin: 0px -${space(4)} -${space(4)};
@@ -453,7 +456,8 @@ const Container = styled('div')`
453456
`;
454457

455458
const TextContainer = styled('div')`
456-
padding-bottom: ${space(1.5)};
459+
padding: ${space(2)} 0 ${space(1.5)} 0;
460+
color: ${p => p.theme.gray300};
457461
`;
458462

459463
const StyledSelectControl = styled(SelectControl)`

0 commit comments

Comments
 (0)