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

Unified Diff: ui/webui/resources/cr_elements/network/cr_network_list.js

Issue 2627353003: Settings/Oobe: Simplify cr-network-select and use flex (Closed)
Patch Set: Add comment Created 3 years, 11 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: ui/webui/resources/cr_elements/network/cr_network_list.js
diff --git a/ui/webui/resources/cr_elements/network/cr_network_list.js b/ui/webui/resources/cr_elements/network/cr_network_list.js
index e6b273f65ad3418a1c6d86009a45822ff9a892d4..e5de1abd3501f99ab432c7151d2f92b8cd823817 100644
--- a/ui/webui/resources/cr_elements/network/cr_network_list.js
+++ b/ui/webui/resources/cr_elements/network/cr_network_list.js
@@ -14,15 +14,6 @@ Polymer({
properties: {
/**
- * The maximum height in pixels for the list.
- */
- maxHeight: {
- type: Number,
- value: 1000,
- observer: 'maxHeightChanged_',
- },
-
- /**
* The list of network state properties for the items to display.
* @type {!Array<!CrOnc.NetworkStateProperties>}
*/
@@ -66,11 +57,6 @@ Polymer({
observers: ['listChanged_(networks, customItems)'],
/** @private */
- maxHeightChanged_: function() {
- this.$.container.style.maxHeight = this.maxHeight + 'px';
- },
-
- /** @private */
listChanged_: function() {
this.updateScrollableContents();
},

Powered by Google App Engine
This is Rietveld 408576698