-
Notifications
You must be signed in to change notification settings - Fork 773
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sizes not adjusting properly #68
Comments
@paistipoikka -
<div fxFlex="400px" fxFlex.gt-xs="400px" fxFlex.xs="300px"> could instead be: <div fxFlex="400px" fxFlex.xs="300px"> |
Try this one: |
Also seems that this applies to the height as well which I've added. Also I've added fxLayoutAlign and fxAlign. I think there are problems here too. |
This is an issue with mdDialog and the cdk-overlay-pane. Please report on the Material 2 repos with a new Angular Material 2 issue.
|
@paistipoikka - Here are two (2) important guidelines for investigating a Layout issue:
|
@ThomasBurleson Thanks for that. Seems Material 2 has a couple of little CSS problems like this. |
So if you add CSS to the Plunkr Demo form div[fxFlex="400px"] {
min-width:400px;
} it definitely seems to work better. @crisbeto - Per your question on Issue 2446, I will investigate... as I must test for regression issues with such a change. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Hi,
I am trying to create a layout that is 400px wide for use inside an
<md-dialog>
.In this case I am expecting a form that is 400px wide yet when I measure it is only 320px. It appears as if the dimensions for the layout are being ignored. Can this be considered a bug or am I doing something wrong here?
JT
The text was updated successfully, but these errors were encountered: