Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Conversation

crisbeto
Copy link
Member

Due to the new changes in the progressCircular component,
the spinner was being rendered bigger than usual. This change
reverts to the old size.

Fixes #7505

Due to the new changes in the `progressCircular` component,
the spinner was being rendered bigger than usual. This change
reverts to the old size.

Fixes angular#7505
@@ -144,7 +144,7 @@ function SelectDirective($mdSelect, $mdUtil, $mdTheming, $mdAria, $compile, $par
.find('md-content')
.prepend(angular.element(
'<div>' +
' <md-progress-circular md-mode="{{progressMode}}" ng-hide="$$loadingAsyncDone"></md-progress-circular>' +
' <md-progress-circular md-mode="{{progressMode}}" ng-hide="$$loadingAsyncDone" md-diameter="25px"></md-progress-circular>' +
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't that be md-diameter="25"?
I know it will still work with the px suffix because the float will be parsed and ignores the text.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted it to be as obvious as possible.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@crisbeto crisbeto deleted the fix/select-circle-size branch March 11, 2016 16:57
ThomasBurleson pushed a commit that referenced this pull request Apr 1, 2016
Due to the new changes in the `progressCircular` component,
the spinner was being rendered bigger than usual. This change
reverts to the old size.

Fixes #7505. Closes #7506
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants