material icon indicating copy to clipboard operation
material copied to clipboard

ng-outlet is not rendering to full width

Open ashishpatel02 opened this issue 10 years ago • 1 comments

i have few component which is loading through routing dynamically but it's not taking full width. Please find below:

<workspace $router="::$$router" class="ng-scope ng-isolate-scope">
    <div layout="column" layout-fill="" class="layout-fill layout-column">
        <md-content flex="15" layout="column" id="app" class="layout-column flex-15">
            Content
        </md-content>
        <md-content flex="80" layout="column" class="md-default-theme layout-column flex-80"> // Rendering 80% for Column
            <!-- ngOutlet:  -->
            <ng-outlet class="ng-scope">
                <itemparent $router="::$$router" class="ng-scope ng-isolate-scope">
                    <!-- ngOutlet:  -->
                    <ng-outlet class="ng-scope">
                        <itemparent-list $router="::$$router" class="ng-scope ng-isolate-scope">

                            <div flex="100" layout="column" class="inputdemoErrors ng-scope aligned layout-column flex-100"> // Not Rendering 80% for Column, it should be as "md-content flex=80" is alerady having full height and width then also why?
                                Content
                            </div>
                        </itemparent-list>
                    </ng-outlet>
                </itemparent>
            </ng-outlet>
        </md-content>
        <footer flex="5" class="footerheight flex-5">
            Content
        </footer>
    </div>
</workspace>

ashishpatel02 avatar Jul 07 '16 11:07 ashishpatel02

Closing this issue due to insufficient information. Please resubmit with:


Required

Behavior:

  • What is the issue? *
  • What is the expected behavior?

CodePen or Steps to reproduce the issue: *

  • CodePen Demo which shows your issue :
  • Details:

Angular Versions: *

  • Angular Version:
  • Angular Material Version:

Additional Information:

  • Browser Type: *
  • Browser Version: *
  • OS: *
  • Stack Traces:

Shortcut to create a new CodePen Demo. Note: * indicates required information. Without this information, your issue may be auto-closed.

devversion avatar Jul 07 '16 12:07 devversion