Skip to content
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
@epelc

Description

@epelc

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.

Example
image
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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions