| Index: chrome/browser/resources/md_bookmarks/command_manager.html
|
| diff --git a/chrome/browser/resources/md_bookmarks/command_manager.html b/chrome/browser/resources/md_bookmarks/command_manager.html
|
| index a57c5101e0d4ed0cea3305e87a1c90d6550cfacc..7189724b1a9b49d17dfb53935349be49cb692710 100644
|
| --- a/chrome/browser/resources/md_bookmarks/command_manager.html
|
| +++ b/chrome/browser/resources/md_bookmarks/command_manager.html
|
| @@ -9,7 +9,22 @@
|
|
|
| <dom-module id="bookmarks-command-manager">
|
| <template>
|
| - <style include="shared-style"></style>
|
| + <style include="shared-style">
|
| + .label {
|
| + flex: 1;
|
| + }
|
| +
|
| + .sublabel {
|
| + -webkit-margin-start: 8px;
|
| + color: var(--secondary-text-color);
|
| + text-align: end;
|
| + width: 3ch;
|
| + }
|
| +
|
| + :host(:not([has-any-sublabel_])) .sublabel {
|
| + display: none;
|
| + }
|
| + </style>
|
| <dialog is="cr-action-menu" id="dropdown" on-mousedown="onMenuMousedown_">
|
| <template is="dom-repeat" items="[[menuCommands_]]" as="command">
|
| <button class="dropdown-item"
|
| @@ -17,7 +32,12 @@
|
| hidden$="[[!isCommandVisible_(command, menuIds_)]]"
|
| disabled$="[[!isCommandEnabled_(command, menuIds_)]]"
|
| on-tap="onCommandClick_">
|
| - [[getCommandLabel_(command, menuIds_)]]
|
| + <span class="label">
|
| + [[getCommandLabel_(command, menuIds_)]]
|
| + </span>
|
| + <span class="sublabel">
|
| + [[getCommandSublabel_(command, menuIds_)]]
|
| + </span>
|
| </button>
|
| <hr hidden$="[[!showDividerAfter_(command, menuIds_)]]"></hr>
|
| </template>
|
|
|