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

Unified Diff: chrome/browser/resources/settings/device_page/display.html

Issue 2128773004: MD Settings: Display: Add mirroring and other fixes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_625106_settings_dropdown_style
Patch Set: Fix drag + mirrored, cleanup, feedback Created 4 years, 5 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/device_page/display.html
diff --git a/chrome/browser/resources/settings/device_page/display.html b/chrome/browser/resources/settings/device_page/display.html
index 607fde29b8469349a8f7abc3f1b81d62b8fb830e..04cdcb15ad67cae332f85fdd1c83c8f2bba112d1 100644
--- a/chrome/browser/resources/settings/device_page/display.html
+++ b/chrome/browser/resources/settings/device_page/display.html
@@ -39,6 +39,7 @@
.info-text {
color: var(--paper-grey-500);
+ margin-top: 5px;
}
.settings-box > paper-button:first-child {
@@ -82,16 +83,17 @@
</div>
<div class="settings-box embedded">
<div class="start textarea">$i18n{displayOrientation}</div>
- <paper-dropdown-menu>
+ <paper-dropdown-menu no-label-float>
<paper-listbox class="dropdown-content"
selected="[[selectedDisplay.rotation]]"
attr-for-selected="value"
on-iron-activate="onSetOrientation_">
- <paper-item value="0">$i18n{displayOrientationStandard}
- </paper-item>
- <paper-item value="90">90</paper-item>
- <paper-item value="180">180</paper-item>
- <paper-item value="270">270</paper-item>
+ <div class="dropdown-item" value="0">
+ $i18n{displayOrientationStandard}
+ </div>
+ <div class="dropdown-item" value="90">90</div>
+ <div class="dropdown-item" value="180">180</div>
+ <div class="dropdown-item" value="270">270</div>
</paper-listbox>
</paper-dropdown-menu>
</div>

Powered by Google App Engine
This is Rietveld 408576698