Skip to content

Commit

Permalink
switch to small button
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Tackett <[email protected]>
  • Loading branch information
Adam Tackett committed Sep 5, 2024
1 parent 5725320 commit f9885f8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions public/components/main/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { i18n } from '@osd/i18n';
import {
EuiFlexGroup,
EuiFlexItem,
EuiButton,
EuiSmallButton,
// @ts-ignore
EuiHorizontalRule,
EuiSpacer,
Expand Down Expand Up @@ -296,7 +296,7 @@ export function Main(props) {
</EuiText>
</EuiFlexItem>
<EuiFlexItem component="span" grow={false}>
<EuiButton
<EuiSmallButton
onClick={refreshReportsTable}
iconSide="left"
iconType="refresh"
Expand All @@ -305,7 +305,7 @@ export function Main(props) {
'opensearch.reports.main.reports.button.refresh',
{ defaultMessage: 'Refresh' }
)}
</EuiButton>
</EuiSmallButton>
</EuiFlexItem>
</EuiFlexGroup>
<EuiHorizontalRule margin='s' />
Expand Down Expand Up @@ -336,7 +336,7 @@ export function Main(props) {
</EuiText>
</EuiFlexItem>
<EuiFlexItem grow={false}>
<EuiButton
<EuiSmallButton
onClick={refreshReportsDefinitionsTable}
iconSide="left"
iconType="refresh"
Expand All @@ -345,10 +345,10 @@ export function Main(props) {
'opensearch.reports.main.reportDefinitions.button.refresh',
{ defaultMessage: 'Refresh' }
)}
</EuiButton>
</EuiSmallButton>
</EuiFlexItem>
<EuiFlexItem component="span" grow={false}>
<EuiButton
<EuiSmallButton
fill={true}
onClick={() => {
window.location.assign('reports-dashboards#/create');
Expand All @@ -359,7 +359,7 @@ export function Main(props) {
'opensearch.reports.main.reportDefinitions.button.create',
{ defaultMessage: 'Create' }
)}
</EuiButton>
</EuiSmallButton>
</EuiFlexItem>
</EuiFlexGroup>
<EuiHorizontalRule margin='s' />
Expand Down

0 comments on commit f9885f8

Please sign in to comment.