Skip to content

Commit 06522db

Browse files
committed
fix(loadingindicator): fix overflow issue
1 parent e87b255 commit 06522db

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/components/LoadingIndicator/LoadingIndicator.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,12 @@ const sharedIndeterminateInnerStyles = css`
101101
position: absolute;
102102
`;
103103
const IndeterminateWrapper = styled.div`
104-
width: 100%;
105-
height: 100%;
104+
position: relative;
105+
top: 2px;
106+
left: 2px;
107+
width: calc(100% - 4px);
108+
height: calc(100% - 4px);
109+
overflow: hidden;
106110
`;
107111
const IndeterminatePrimary = styled.div`
108112
${sharedIndeterminateStyles}

0 commit comments

Comments
 (0)