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

Unified Diff: chrome/browser/resources/history/history.js

Issue 13811015: History: Fix alignment issues in search. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes Created 7 years, 8 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/history/history.css ('k') | chrome/browser/resources/history/history_mobile.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/history/history.js
diff --git a/chrome/browser/resources/history/history.js b/chrome/browser/resources/history/history.js
index 5eff031b6a9392e4e4d4a083dc2a772349dde0ab..6471089713b6dc028f976c0e707e06641b004a9e 100644
--- a/chrome/browser/resources/history/history.js
+++ b/chrome/browser/resources/history/history.js
@@ -198,9 +198,13 @@ Visit.prototype.getResultDOM = function(propertyBag) {
this.classList.remove('contains-focus');
}, true);
- node.appendChild(entryBox);
- if (this.model_.isManagedProfile && this.model_.getGroupByDomain()) {
- node.appendChild(
+ var entryBoxContainer =
+ createElementWithClassName('div', 'entry-box-container');
+ node.appendChild(entryBoxContainer);
+ entryBoxContainer.appendChild(entryBox);
+ if (!isSearchResult && this.model_.isManagedProfile &&
+ this.model_.getGroupByDomain()) {
+ entryBoxContainer.appendChild(
getManagedStatusDOM(this.urlManualBehavior, this.urlInContentPack));
}
« no previous file with comments | « chrome/browser/resources/history/history.css ('k') | chrome/browser/resources/history/history_mobile.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698