| Index: ui/webui/resources/cr_elements/cr_shared_menu/cr_shared_menu.html
|
| diff --git a/ui/webui/resources/cr_elements/cr_shared_menu/cr_shared_menu.html b/ui/webui/resources/cr_elements/cr_shared_menu/cr_shared_menu.html
|
| index 004bec315285579d94a9addfbf5c99f38294e5d9..c9b0070ae43f7a4401202c98fc7c0ac1d0f385ef 100644
|
| --- a/ui/webui/resources/cr_elements/cr_shared_menu/cr_shared_menu.html
|
| +++ b/ui/webui/resources/cr_elements/cr_shared_menu/cr_shared_menu.html
|
| @@ -6,17 +6,16 @@
|
| <link rel="import" href="chrome://resources/polymer/v1_0/iron-dropdown/iron-dropdown.html">
|
| <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animations/fade-in-animation.html">
|
| <link rel="import" href="chrome://resources/polymer/v1_0/neon-animation/animations/fade-out-animation.html">
|
| +<link rel="import" href="chrome://resources/polymer/v1_0/paper-listbox/paper-listbox.html">
|
| <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.html">
|
| <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu-button/paper-menu-button-animations.html">
|
|
|
| <dom-module id="cr-shared-menu">
|
| <template>
|
| <style>
|
| - #menu {
|
| + paper-listbox {
|
| @apply(--shadow-elevation-2dp);
|
| - background-color: white;
|
| overflow: hidden;
|
| - padding: 8px 0;
|
| position: relative;
|
| width: var(--cr-shared-menu-width);
|
| }
|
| @@ -25,9 +24,9 @@
|
| vertical-align="auto" horizontal-align="right" opened="{{menuOpen}}"
|
| open-animation-config="[[openAnimationConfig]]"
|
| close-animation-config="[[closeAnimationConfig]]">
|
| - <div id="menu" class="dropdown-content" role="menu">
|
| + <paper-listbox id="menu" class="dropdown-content">
|
| <content></content>
|
| - </div>
|
| + </paper-listbox>
|
| </iron-dropdown>
|
| </template>
|
| <script src="cr_shared_menu.js"></script>
|
|
|