Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(95)

Side by Side Diff: chrome/browser/resources/settings/settings_menu/settings_menu.html

Issue 2543063002: MD Settings: Tolerate long words within settings-menu better. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 1 <link rel="import" href="chrome://resources/cr_elements/icons.html">
2 <link rel="import" href="chrome://resources/html/assert.html"> 2 <link rel="import" href="chrome://resources/html/assert.html">
3 <link rel="import" href="chrome://resources/html/polymer.html"> 3 <link rel="import" href="chrome://resources/html/polymer.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-menu.h tml"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-menu.h tml">
6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-submen u.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/paper-menu/paper-submen u.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-ripple/paper-ripp le.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-ripple/paper-ripp le.html">
8 <link rel="import" href="/icons.html"> 8 <link rel="import" href="/icons.html">
9 <link rel="import" href="/route.html"> 9 <link rel="import" href="/route.html">
10 <link rel="import" href="/settings_shared_css.html"> 10 <link rel="import" href="/settings_shared_css.html">
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 }; 76 };
77 } 77 }
78 78
79 .page-menu div { 79 .page-menu div {
80 -webkit-padding-start: 24px; 80 -webkit-padding-start: 24px;
81 align-items: center; 81 align-items: center;
82 display: flex; 82 display: flex;
83 font-size: 100%; 83 font-size: 100%;
84 font-weight: 500; 84 font-weight: 500;
85 min-height: 40px; 85 min-height: 40px;
86 word-break: break-word;
87 }
88
89 .page-menu div iron-icon {
90 flex-shrink: 0;
86 } 91 }
87 92
88 .separator { 93 .separator {
89 /* Per Alan@, this line is different from the other separator lines. */ 94 /* Per Alan@, this line is different from the other separator lines. */
90 border-bottom: 1px solid rgba(0, 0, 0, 0.08); 95 border-bottom: 1px solid rgba(0, 0, 0, 0.08);
91 margin-top: 8px; 96 margin-top: 8px;
92 } 97 }
93 </style> 98 </style>
94 <paper-menu name="root-menu"> 99 <paper-menu name="root-menu">
95 <div class="page-menu" id="basicPage"> 100 <div class="page-menu" id="basicPage">
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 <paper-submenu class="page-menu"> 204 <paper-submenu class="page-menu">
200 <div about-selected$="[[aboutSelected_]]" class="menu-trigger" 205 <div about-selected$="[[aboutSelected_]]" class="menu-trigger"
201 id="about-menu" on-tap="openPage_" data-path="/help"> 206 id="about-menu" on-tap="openPage_" data-path="/help">
202 $i18n{aboutPageTitle} 207 $i18n{aboutPageTitle}
203 </div> 208 </div>
204 </paper-submenu> 209 </paper-submenu>
205 </paper-menu> 210 </paper-menu>
206 </template> 211 </template>
207 <script src="settings_menu.js"></script> 212 <script src="settings_menu.js"></script>
208 </dom-module> 213 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698