[home] change recently accessed header to h3 (#19085) (#19119)

* change recently accessed header to h3 to be more accessible

* change recently accessed header to h3 to be more accessible
This commit is contained in:
Nathan Reese 2018-05-16 08:49:41 -06:00 committed by GitHub
parent a9083312a8
commit 9ea342ffa7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 9 deletions

View file

@ -6,17 +6,17 @@ exports[`render 1`] = `
hasShadow={false} hasShadow={false}
paddingSize="l" paddingSize="l"
> >
<EuiText <EuiTitle
grow={true} size="xs"
> >
<p> <h3>
<EuiTextColor <EuiTextColor
color="subdued" color="subdued"
> >
Recently viewed Recently viewed
</EuiTextColor> </EuiTextColor>
</p> </h3>
</EuiText> </EuiTitle>
<EuiSpacer <EuiSpacer
size="s" size="s"
/> />

View file

@ -13,6 +13,7 @@ import {
EuiIcon, EuiIcon,
EuiSpacer, EuiSpacer,
EuiToolTip, EuiToolTip,
EuiTitle,
} from '@elastic/eui'; } from '@elastic/eui';
export const NUM_LONG_LINKS = 5; export const NUM_LONG_LINKS = 5;
@ -174,13 +175,13 @@ export class RecentlyAccessed extends Component {
render() { render() {
return ( return (
<EuiPanel paddingSize="l"> <EuiPanel paddingSize="l">
<EuiText> <EuiTitle size="xs">
<p> <h3>
<EuiTextColor color="subdued"> <EuiTextColor color="subdued">
Recently viewed Recently viewed
</EuiTextColor> </EuiTextColor>
</p> </h3>
</EuiText> </EuiTitle>
<EuiSpacer size="s"/> <EuiSpacer size="s"/>