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

Unified Diff: chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js

Issue 1834573002: [Media Router WebUI] Handle header height changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/media_router/elements/media_router_container/media_router_container.js
diff --git a/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js b/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js
index 1ab592af4254d6e48ed3a15f99aaa03b924bcf8c..ca4f811f4b8de2aa550eb34910d41f8797d87523 100644
--- a/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js
+++ b/chrome/browser/resources/media_router/elements/media_router_container/media_router_container.js
@@ -1713,7 +1713,7 @@ Polymer({
var searchHeight = this.$$('#sink-search').offsetHeight;
this.$['container-header'].style.marginTop = firstRunFlowHeight + 'px';
- this.$['sink-list-view'].style.marginTop =
+ this.$['content'].style.marginTop =
firstRunFlowHeight + headerHeight + 'px';
this.$['sink-list'].style.maxHeight =
this.dialogHeight_ - headerHeight - firstRunFlowHeight -

Powered by Google App Engine
This is Rietveld 408576698