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

Toolbar style in scaffold example #17

Open
ghost opened this issue Jan 8, 2015 · 0 comments
Open

Toolbar style in scaffold example #17

ghost opened this issue Jan 8, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 8, 2015

The core-scaffold example code on polymer core-scaffold page

<core-scaffold>
  <core-header-panel navigation flex mode="seamed">
    <core-toolbar>Application</core-toolbar>
    <core-menu theme="core-light-theme">
      <core-item icon="settings" label="item1"></core-item>
      <core-item icon="settings" label="item2"></core-item>
    </core-menu>
  </core-header-panel>
  <div tool>Title</div>
  <div>Main content goes here...</div>
</core-scaffold>

Renders differently on chrome. The "Application" toolbar has no default color, but chrome and safari seem to inherit this style:

core-scaffold

The demo page adds style="background-color: #526E9C; color: #fff;" in the core-toolbar tag, which corrects the style.
But why is it necessary to add this element here?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants