|
@@ -124,10 +124,10 @@ function WidgetCardContextMenu({
|
|
|
position="bottom-end"
|
|
|
disabledKeys={[...disabledKeys, 'preview']}
|
|
|
/>
|
|
|
- <OpenWidgetViewerButton
|
|
|
+ <Button
|
|
|
aria-label={t('Open Widget Viewer')}
|
|
|
- priority="link"
|
|
|
- size="zero"
|
|
|
+ borderless
|
|
|
+ size="xs"
|
|
|
icon={<IconExpand size="xs" />}
|
|
|
onClick={() => {
|
|
|
(seriesData || tableData) &&
|
|
@@ -257,10 +257,10 @@ function WidgetCardContextMenu({
|
|
|
position="bottom-end"
|
|
|
disabledKeys={[...disabledKeys]}
|
|
|
/>
|
|
|
- <OpenWidgetViewerButton
|
|
|
+ <Button
|
|
|
aria-label={t('Open Widget Viewer')}
|
|
|
- priority="link"
|
|
|
- size="zero"
|
|
|
+ borderless
|
|
|
+ size="xs"
|
|
|
icon={<IconExpand size="xs" />}
|
|
|
onClick={() => {
|
|
|
setData({
|
|
@@ -296,16 +296,6 @@ const StyledDropdownMenuControl = styled(DropdownMenu)`
|
|
|
}
|
|
|
`;
|
|
|
|
|
|
-const OpenWidgetViewerButton = styled(Button)`
|
|
|
- padding: ${space(0.75)} ${space(1)};
|
|
|
- color: ${p => p.theme.textColor};
|
|
|
- &:hover {
|
|
|
- color: ${p => p.theme.textColor};
|
|
|
- background: ${p => p.theme.surface400};
|
|
|
- border-color: transparent;
|
|
|
- }
|
|
|
-`;
|
|
|
-
|
|
|
const SampledTag = styled(Tag)`
|
|
|
margin-right: ${space(0.5)};
|
|
|
`;
|