Skip to content

Commit

Permalink
Update prioritization spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
scottybollinger committed Oct 16, 2020
1 parent fb49ba5 commit 6d5434a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,20 @@

import React from 'react';
import { i18n } from '@kbn/i18n';
import { EuiButtonEmpty } from '@elastic/eui';
import { EuiButtonEmpty, EuiText } from '@elastic/eui';

import { externalUrl, getWorkplaceSearchUrl } from '../../../shared/enterprise_search_url';

export const WorkplaceSearchHeaderActions: React.FC = () => {
if (!externalUrl.enterpriseSearchUrl) return null;

return (
<EuiButtonEmpty href={getWorkplaceSearchUrl('/search')} target="_blank" iconType="search">
{i18n.translate('xpack.enterpriseSearch.workplaceSearch.headerActions.searchApplication', {
defaultMessage: 'Go to search application',
})}
<EuiButtonEmpty href={getWorkplaceSearchUrl('/search')} target="_blank" iconType="search" style={{ marginRight: 5 }}>
<EuiText size="s">
{i18n.translate('xpack.enterpriseSearch.workplaceSearch.headerActions.searchApplication', {
defaultMessage: 'Go to search application',
})}
</EuiText>
</EuiButtonEmpty>
);
};
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export const GroupSourcePrioritization: React.FC = () => {
</EuiFlexItem>
</EuiFlexGroup>
</EuiTableRowCell>
<EuiTableRowCell align="right">
<EuiTableRowCell align="right" style={{ padding: 0 }}>
<EuiFlexGroup gutterSize="none" alignItems="center" justifyContent="spaceAround">
<EuiFlexItem grow={false}>
<EuiRange
Expand All @@ -166,7 +166,7 @@ export const GroupSourcePrioritization: React.FC = () => {
}
/>
</EuiFlexItem>
<EuiFlexItem grow={false} style={{ paddingRight: 1 }}>
<EuiFlexItem grow={false} style={{ paddingLeft: 10 }}>
<div style={{ margin: 0 }} className="input-container--range__count">
{activeSourcePriorities[id]}
</div>
Expand Down

0 comments on commit 6d5434a

Please sign in to comment.