Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
Trying to fix clipping.
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Oct 5, 2014
1 parent 1d47aa2 commit f7e51da
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/components/circularProgress/_circularProgress.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,18 @@ $transition-length:.3s;
$shadow:6px 6px 10px rgba(0, 0, 0, 0.2);
material-circular-progress {
display: block;
width: $circle-size;
height: $circle-size;
width: $circle-size + 6;
height: $circle-size + 6;
background-color: $circle-background;
border-radius: 50%;
padding: 3px;

.wrapper1, .wrapper2 {
width: $circle-size;
height: $circle-size;
position: absolute;
border-radius: 50%;
}

.circle {
.mask, .fill, .shadow {
Expand Down Expand Up @@ -50,9 +58,6 @@ material-circular-progress {

&[mode=indeterminate] {
.wrapper1, .wrapper2 {
width: $circle-size;
height: $circle-size;

-ms-transform-origin: 50% 50%; /* IE 9 */
webkit-transform-origin: 50% 50%; /* Chrome, Safari, Opera */
transform-origin: 50% 50%;
Expand Down

0 comments on commit f7e51da

Please sign in to comment.