This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
md-dialog-content: Requires layout="column" for padding to work #2637
Closed
Description
In 0.9.0-rc3
md-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.
<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.
Metadata
Metadata
Assignees
Labels
No labels