You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.
In 0.9.0-rc3md-dialog-content requires either layout="row" or layout="column" for the padding to work. But I can't really see why you would use row unless you didn't have a title.
Example
Markup
<md-dialog>
<form ng-submit="create()">
<!-- layout="column" is required or the padding doesn't work -->
<md-dialog-content layout="column">
<h3>Create a team</h3>
<md-input-container>
<label>Team Name</label>
<input ng-model="newTeam.Name" type="text" required>
</md-input-container>
</md-dialog-content>
<div class="md-actions">
<md-button ng-click="cancel()" type="button">Cancel</md-button>
<md-button type="submit" class="md-primary">Create</md-button>
</div>
</form>
</md-dialog>
I think it should either default to layout="column" or fix the padding somehow.
The text was updated successfully, but these errors were encountered:
@marcysutton I just figured out this only happens if you wrap md-dialog-content. It works fine if you don't but I need to use the outer form for several dialogs. Other people also mentioned they use this layout.
Note using the layout="column" workaround when you have an element between md-dialog and md-dialog-content also breaks the scrolling(as in removes it. You end up only seeing the content near the bottom of md-dialog-content. Also the title becomes hidden.
In
0.9.0-rc3
md-dialog-content
requires eitherlayout="row"
orlayout="column"
for the padding to work. But I can't really see why you would use row unless you didn't have a title.Example
Markup
I think it should either default to
layout="column"
or fix the padding somehow.The text was updated successfully, but these errors were encountered: