Skip to content

Commit

Permalink
Address Andrea's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
stratoula committed Jul 29, 2024
1 parent 40e282b commit e5dc627
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/plugins/esql_datagrid/public/data_grid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,12 @@ const DataGrid: React.FC<ESQLDataGridProps> = (props) => {
<EuiLink
href={discoverLink}
target="_blank"
color="text"
color="primary"
css={css`
display: flex;
align-items: center;
`}
external={false}
>
<EuiIcon
type="discoverApp"
Expand All @@ -174,7 +175,7 @@ const DataGrid: React.FC<ESQLDataGridProps> = (props) => {
/>
<EuiText size="xs">
{i18n.translate('esqlDataGrid.openInDiscoverLabel', {
defaultMessage: 'Open in Discover.',
defaultMessage: 'Open in Discover',
})}
</EuiText>
</EuiLink>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ export function LensEditConfigurationFlyout({
flex: ${isESQLResultsAccordionOpen ? 1 : 'none'};
}
padding: 0 ${euiThemeVars.euiSize};
border-bottom: ${euiThemeVars.euiBorderThin};
`}
>
<EuiAccordion
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
*/
import React from 'react';
import './helpers.scss';
import { css } from '@emotion/react';
import { euiThemeVars } from '@kbn/ui-theme';
import { toMountPoint } from '@kbn/react-kibana-mount';
import { tracksOverlays } from '@kbn/presentation-containers';
import type { IEmbeddable } from '@kbn/embeddable-plugin/public';
Expand Down Expand Up @@ -72,6 +74,10 @@ const openInlineLensConfigEditor = (
overlayRef.close();
},
outsideClickCloses: true,
css: css`
max-width: calc(${euiThemeVars.euiSizeXXL} * 20);
min-width: calc(${euiThemeVars.euiSizeXXL} * 10);
`,
}
);

Expand Down

0 comments on commit e5dc627

Please sign in to comment.