Chromium Code Reviews| Index: chrome/browser/resources/settings/settings_dialog.js |
| diff --git a/chrome/browser/resources/settings/settings_dialog.js b/chrome/browser/resources/settings/settings_dialog.js |
| index 888ae0d4c5cc5df61b9a4919539ac91877657e0f..85bdc03742c4c5fa3fe71ac0a4057a213cd2683b 100644 |
| --- a/chrome/browser/resources/settings/settings_dialog.js |
| +++ b/chrome/browser/resources/settings/settings_dialog.js |
| @@ -30,6 +30,16 @@ Polymer({ |
| behaviors: [Polymer.PaperDialogBehavior], |
| + /** @override */ |
| + center: function() { |
| + Polymer.IronFitBehavior.center.call(this); |
| + |
| + this.$$('.body-container').style.maxHeight = this.offsetHeight - |
| + (this.$$('.title-container').offsetHeight + |
| + this.$$('.button-container').offsetHeight + |
| + this.$$('.footer-container').offsetHeight) + 'px'; |
|
Dan Beam
2016/05/13 01:42:40
Do you hate this? (y/n) _
dpapad
2016/05/13 18:14:03
Well, it is a bit complicated at first sight. My m
dpapad
2016/05/13 18:20:33
FYI regarding the clipping issue, I had filed http
Dan Beam
2016/05/17 19:26:12
fixed
|
| + }, |
| + |
| /** @return {!PaperIconButtonElement} */ |
| getCloseButton: function() { |
| return this.$.close; |