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

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

Issue 1953673002: [Media Router WebUI] Fix search input and issue overlap. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « chrome/browser/resources/media_router/elements/media_router_container/media_router_container.css ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 9176966a046a6346e2c346ef6e6962b0d54441b5..c3af59def0a63d4c78f4df1776562746284d1618 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
@@ -1621,7 +1621,6 @@ Polymer({
var resultsContainer = this.$$('#search-results-container');
var search = this.$['sink-search'];
search.className = 'bottom';
- search.style['margin-top'] = '-' + search.offsetHeight + 'px';
search.style['top'] = '';
if (resultsContainer) {
resultsContainer.style['position'] = '';
@@ -1631,6 +1630,7 @@ Polymer({
this.hideSinkListForAnimation_ = false;
var hasList = this.hasConditionalElement_(list);
if (hasList) {
+ search.style['margin-top'] = '-' + search.offsetHeight + 'px';
list.style['padding-bottom'] = search.offsetHeight + 'px';
list.style['opacity'] = '';
} else {
« no previous file with comments | « chrome/browser/resources/media_router/elements/media_router_container/media_router_container.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698