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

Commit

Permalink
use drawerWidth to set drawer width on core-drawer-panel
Browse files Browse the repository at this point in the history
  • Loading branch information
frankiefu committed Jul 29, 2014
1 parent e515259 commit a7032a3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
9 changes: 0 additions & 9 deletions sampler-scaffold.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,6 @@ core-toolbar::shadow #bottomBar {
padding: 0 0 20px 60px;
}

/* adjust drawerPanel drawer's width instead of using the default */
#drawerPanel::shadow #drawer {
width: 320px;
}

#drawerPanel::shadow #main {
left: 320px;
}

/* menu */
core-menu#menu {
padding: 8px 0;
Expand Down
2 changes: 1 addition & 1 deletion sampler-scaffold.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

<link rel="stylesheet" href="sampler-scaffold.css">

<core-drawer-panel id="drawerPanel" narrow="{{narrow}}" responsiveWidth="{{responsiveWidth}}">
<core-drawer-panel id="drawerPanel" narrow="{{narrow}}" drawerWidth="320px" responsiveWidth="{{responsiveWidth}}">

<core-header-panel id="mainHeaderPanel" main mode="{{narrow ? 'waterfall' : 'cover'}}" shadow>

Expand Down

0 comments on commit a7032a3

Please sign in to comment.