Skip to content

Commit

Permalink
Design review (#6560)
Browse files Browse the repository at this point in the history
  • Loading branch information
elizabetdev authored Jan 27, 2023
1 parent 320613e commit f9161a1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src-docs/src/views/skeleton/skeleton_example.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export const SkeletonExample = {
text: (
<EuiText>
<p>
<strong>EuiSkeletonCircle</strong> allows you define a large and
<strong>EuiSkeletonRectangle</strong> allows you define a large and
customizable shape via its <EuiCode>width</EuiCode>,{' '}
<EuiCode>height</EuiCode>, and <EuiCode>borderRadius</EuiCode>{' '}
props.
Expand Down
2 changes: 1 addition & 1 deletion src/components/skeleton/skeleton_text.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const euiSkeletonCommonStyles = (euiThemeContext: UseEuiTheme) => {
euiSkeletonText: css`
display: block;
${logicalCSS('width', '100%')}
border-radius: ${euiTheme.border.radius.medium};
border-radius: ${euiTheme.border.radius.small};
${euiSkeletonGradientAnimation(euiThemeContext)}
// Offset via transform to more closely match placement of text
Expand Down
1 change: 1 addition & 0 deletions src/components/skeleton/skeleton_title.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export const euiSkeletonTitleStyles = (euiThemeContext: UseEuiTheme) => {
`,
xxxs: css`
${logicalCSS('height', euiTitle(euiThemeContext, 'xxxs').lineHeight)};
border-radius: ${euiTheme.border.radius.small};
`,
};
};

0 comments on commit f9161a1

Please sign in to comment.