Skip to content

Commit 531c394

Browse files
committed
Fix non-rounded loading indicator when display="large"
1 parent 9c22a92 commit 531c394

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/eui/src/components/form/file_picker/file_picker.styles.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ export const euiFilePickerStyles = (euiThemeContext: UseEuiTheme) => {
4545
`,
4646
loading: css`
4747
--euiFormControlRightIconsCount: 1;
48+
49+
/* Clip EuiProgress loading indicator that renders for large displays */
50+
border-radius: ${formVariables.controlCompressedBorderRadius};
51+
overflow: hidden;
4852
`,
4953

5054
// Skip the css() on the default width to avoid generating a className

0 commit comments

Comments
 (0)