| Index: chrome/browser/resources/chromeos/login/network_dropdown.js
|
| diff --git a/chrome/browser/resources/chromeos/login/network_dropdown.js b/chrome/browser/resources/chromeos/login/network_dropdown.js
|
| index 3a5a3f5fe79dc2c7362c89a2ee7d4d659b948a4f..846183d13ff20055c9068ec1f349fd2e2fe1f94c 100644
|
| --- a/chrome/browser/resources/chromeos/login/network_dropdown.js
|
| +++ b/chrome/browser/resources/chromeos/login/network_dropdown.js
|
| @@ -173,6 +173,11 @@ cr.define('cr.ui', function() {
|
| this.createItem_(this.container, item);
|
| }
|
| this.container.selectItem(this.container.firstItem, false);
|
| +
|
| + var maxHeight = cr.ui.LoginUITools.getMaxHeightBeforeShelfOverlapping(
|
| + this.container);
|
| + if (maxHeight < this.container.offsetHeight)
|
| + this.container.style.maxHeight = maxHeight + 'px';
|
| },
|
|
|
| /**
|
|
|