Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Added iron-flext-layout-classes and included the iron-flext and iron-flex-alignment styles. #260

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions guides/responsive-material-design-layouts.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ children are placed in the content area.
href="/bower_components/paper-toolbar/paper-toolbar.html">
<link rel="import"
href="/bower_components/iron-flex-layout/iron-flex-layout.html">
<link rel="import"
href="/bower_components/paper-styles/paper-styles.html">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please don't import paper-styles.html like this. As mentioned in the docs (https://github.com/PolymerElements/paper-styles/blob/master/paper-styles.html#L33), we recommend importing the needed subfiles, not this generic one

...
<body class="fullbleed vertical layout">
<!-- paper-header-panel must have an explicit height -->
Expand Down Expand Up @@ -121,6 +123,8 @@ You can use another element as a header by adding the
href="/bower_components/paper-header-panel/paper-header-panel.html">
<link rel="import"
href="/bower_components/iron-flex-layout/iron-flex-layout.html">
<link rel="import"
href="/bower_components/paper-styles/paper-styles.html">
...
<body class="fullbleed vertical layout">
<paper-header-panel class="flex">
Expand Down Expand Up @@ -154,6 +158,8 @@ Use `paper-icon-button` and `iron-icons` to add icons to your header:
href="/bower_components/iron-icons/iron-icons.html">
<link rel="import"
href="/bower_components/iron-flex-layout/iron-flex-layout.html">
<link rel="import"
href="/bower_components/paper-styles/paper-styles.html">
...
<body class="fullbleed vertical layout">
<paper-header-panel class="flex">
Expand Down Expand Up @@ -199,6 +205,8 @@ classes to change the height of your header.
href="/bower_components/paper-toolbar/paper-toolbar.html">
<link rel="import"
href="/bower_components/iron-flex-layout/iron-flex-layout.html">
<link rel="import"
href="/bower_components/paper-styles/paper-styles.html">
...
<body class="fullbleed vertical layout">
<paper-header-panel class="flex">
Expand Down Expand Up @@ -235,6 +243,8 @@ Use `paper-tabs` to add tabs to your header:
href="/bower_components/iron-icons/iron-icons.html">
<link rel="import"
href="/bower_components/iron-flex-layout/iron-flex-layout.html">
<link rel="import"
href="/bower_components/paper-styles/paper-styles.html">
...
<body class="fullbleed vertical layout">
<paper-header-panel class="flex">
Expand Down Expand Up @@ -307,6 +317,8 @@ navigation menu.
href="/bower_components/iron-icons/iron-icons.html">
<link rel="import"
href="/bower_components/iron-flex-layout/iron-flex-layout.html">
<link rel="import"
href="/bower_components/paper-styles/paper-styles.html">
...
<body class="fullbleed vertical layout">
<paper-drawer-panel class="flex">
Expand Down