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

Commit

Permalink
fix(dialog): remove whitespace from "custom" dialog demo
Browse files Browse the repository at this point in the history
  Remove extra unnecessary padding from right button that was probably left over by accident.

  Material Design specifies 8dp (6px) between the right edge of the right-most button and the right
  edge of the containing dialog.

  See https://www.google.com/design/spec/components/dialogs.html#dialogs-behavior

  This was added in b401751 for #3135.  It should probably have been removed in 3aab9e4.

Closes #8271
  • Loading branch information
BevanR authored and ThomasBurleson committed May 30, 2016
1 parent ff36163 commit 55041ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/dialog/demoBasicUsage/dialog1.tmpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ <h2>Using .md-dialog-content class that sets the padding as the spec</h2>
<md-button ng-click="answer('not useful')">
Not Useful
</md-button>
<md-button ng-click="answer('useful')" style="margin-right:20px;">
<md-button ng-click="answer('useful')">
Useful
</md-button>
</md-dialog-actions>
Expand Down

0 comments on commit 55041ce

Please sign in to comment.