[Observability] [Exploratory view] update v7 button styles (#100113)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
df47ae1e1d
commit
42fa42a00a
|
@ -40,7 +40,7 @@ export function DataTypesCol({ seriesId }: { seriesId: string }) {
|
|||
<FlexGroup direction="column" gutterSize="xs">
|
||||
{dataTypes.map(({ id: dataTypeId, label }) => (
|
||||
<EuiFlexItem key={dataTypeId}>
|
||||
<EuiButton
|
||||
<Button
|
||||
size="s"
|
||||
iconSide="right"
|
||||
iconType="arrowRight"
|
||||
|
@ -53,7 +53,7 @@ export function DataTypesCol({ seriesId }: { seriesId: string }) {
|
|||
}}
|
||||
>
|
||||
{label}
|
||||
</EuiButton>
|
||||
</Button>
|
||||
</EuiFlexItem>
|
||||
))}
|
||||
</FlexGroup>
|
||||
|
@ -63,3 +63,7 @@ export function DataTypesCol({ seriesId }: { seriesId: string }) {
|
|||
const FlexGroup = styled(EuiFlexGroup)`
|
||||
width: 100%;
|
||||
`;
|
||||
|
||||
const Button = styled(EuiButton)`
|
||||
will-change: transform;
|
||||
`;
|
||||
|
|
|
@ -41,7 +41,7 @@ export function ReportTypesCol({ seriesId, reportTypes }: Props) {
|
|||
<FlexGroup direction="column" gutterSize="xs">
|
||||
{reportTypes.map(({ id: reportType, label }) => (
|
||||
<EuiFlexItem key={reportType}>
|
||||
<EuiButton
|
||||
<Button
|
||||
fullWidth
|
||||
size="s"
|
||||
iconSide="right"
|
||||
|
@ -67,7 +67,7 @@ export function ReportTypesCol({ seriesId, reportTypes }: Props) {
|
|||
}}
|
||||
>
|
||||
{label}
|
||||
</EuiButton>
|
||||
</Button>
|
||||
</EuiFlexItem>
|
||||
))}
|
||||
</FlexGroup>
|
||||
|
@ -84,3 +84,7 @@ export const SELECTED_DATA_TYPE_FOR_REPORT = i18n.translate(
|
|||
const FlexGroup = styled(EuiFlexGroup)`
|
||||
width: 100%;
|
||||
`;
|
||||
|
||||
const Button = styled(EuiButton)`
|
||||
will-change: transform;
|
||||
`;
|
||||
|
|
Loading…
Reference in a new issue