Skip to content

Commit

Permalink
Stylize dashboard buttons the same way
Browse files Browse the repository at this point in the history
  • Loading branch information
ryankeairns committed Apr 13, 2020
1 parent a6ecd4c commit 12c91e1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 15 deletions.
10 changes: 1 addition & 9 deletions src/plugins/dashboard/public/application/_dashboard_app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,10 @@

.dshEmptyWidget {
border: $euiBorderThin;
border-style: dashed;
border-style: dashed;
border-radius: $euiBorderRadius;
padding: $euiSizeXXL * 2;
max-width: 400px;
margin-left: $euiSizeS;
text-align: center;
}

.dshEmptyWidget {
border: 2px dashed $euiColorLightShade;
padding: 4 * $euiSize;
max-width: 20em;
margin-left: 10px;
text-align: center;
}
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,9 @@ export function DashboardEmptyScreen({
const linkToVisualizeParagraph = (
<p data-test-subj="linkToVisualizeParagraph">
<EuiButton
iconSide="right"
iconSide="left"
size="s"
fill
iconType="arrowDown"
iconType="plusInCircle"
onClick={onVisualizeClick}
data-test-subj="addVisualizationButton"
aria-label={constants.createNewVisualizationButtonAriaLabel}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ export function SavedObjectFinderCreateNew({ menuItems }: Props) {
button={
<EuiButton
data-test-subj="createNew"
iconType="arrowDown"
iconSide="right"
iconType="plusInCircle"
iconSide="left"
onClick={toggleCreateMenu}
fill
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export function TopNavMenuItem(props: TopNavMenuData) {
};

const btn = props.emphasize ? (
<EuiButton {...commonButtonProps} size="s" fill style={{ fontSize: 'smaller' }}>
<EuiButton {...commonButtonProps} size="s" fill>
{capitalize(props.label || props.id!)}
</EuiButton>
) : (
Expand Down

0 comments on commit 12c91e1

Please sign in to comment.