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

Commit

Permalink
add doc for using fit to fit to the main area
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiefu committed Aug 4, 2014
1 parent 52d4b5f commit b6e7d1b
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions core-header-panel.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@
height: 100%;
}
Special
support is provided for scrolling modes when one uses a core-toolbar or equivalent
Special support is provided for scrolling modes when one uses a core-toolbar or equivalent
for the header section.
Example:
Expand All @@ -52,6 +51,13 @@
<div class="core-header">Header</div>
<div>Content goes here...</div>
</core-header-panel>
To have the content fits to the main area, use `fit` attribute.
<core-header-panel>
<div class="core-header">standard</div>
<div class="content" fit>content fits 100% below the header</div>
</core-header-panel>
Use `mode` to control the header and scrolling behavior.
Expand Down

0 comments on commit b6e7d1b

Please sign in to comment.