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

Is it compatible with Angular Material? #73

Open
cbranca opened this issue Feb 24, 2017 · 1 comment
Open

Is it compatible with Angular Material? #73

cbranca opened this issue Feb 24, 2017 · 1 comment

Comments

@cbranca
Copy link

cbranca commented Feb 24, 2017

I'm trying to use this library with Angular Material but I can't get it work.
Look at this example:
I have a row with 2 md-content, one with flex at 20% and one with flex at 80%. My objective is to enlarge (resize) the first md-content if needed.

<div layout="row">
    <md-content flex="20">
    </md-content>
    <md-content flex="80">
    </md-content>
</div>

so I tried this (and also the opposite)

<div layout="row">
    <md-content flex="20" resizable r-directions="['right']" r-flex="true">
    </md-content>
    <md-content flex="80">
    </md-content>
</div>

How can I get it to work?

@cbranca
Copy link
Author

cbranca commented Feb 24, 2017

For now I have solved with this workaround:

<div layout="row">
    <div resizable r-directions="['right']" style="width: 200px; min-width: 200px; max-width: 500px;">
        <md-content flex></md-content>
    </div>
    <div>
        <md-content flex></md-content>
    </div>
</div>

@cbranca cbranca closed this as completed Feb 24, 2017
@cbranca cbranca reopened this Feb 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant