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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/ListControl.js

Issue 2607103004: DevTools: Make sure a horizontal scrollbar doesn't appear in SuggestBox (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/ui/ListControl.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/ListControl.js b/third_party/WebKit/Source/devtools/front_end/ui/ListControl.js
index a76022f03598a1dae20f6b5baac5182dd216d20a..7c71b89c4e8b83e511491061ef6f72bb50d99a42 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/ListControl.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/ListControl.js
@@ -52,7 +52,8 @@ UI.ListControl = class {
*/
constructor(delegate) {
this.element = createElement('div');
- this.element.style.overflow = 'auto';
+ this.element.style.overflowY = 'auto';
+ this.element.style.overflowX = 'hidden';
dgozman 2016/12/30 02:30:40 I think this line belongs to clients. I can easily
einbinder 2017/01/03 20:06:53 The ListControl doesn't viewport horizontally, so
einbinder 2017/01/05 18:45:32 That makes sense. Done.
this._topElement = this.element.createChild('div');
this._bottomElement = this.element.createChild('div');
this._firstIndex = 0;
« 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