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

Unified Diff: chrome/browser/resources/md_downloads/toolbar.html

Issue 2838963003: WebUI: Unify [hidden] attribute styling rules. (Closed)
Patch Set: Update MD Bookmarks too Created 3 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
Index: chrome/browser/resources/md_downloads/toolbar.html
diff --git a/chrome/browser/resources/md_downloads/toolbar.html b/chrome/browser/resources/md_downloads/toolbar.html
index bda557e498fd7927a5f5fbb35d09fab6613af5a2..2b6bca652e8d0e0e49dab92d9fafdab6a3342e03 100644
--- a/chrome/browser/resources/md_downloads/toolbar.html
+++ b/chrome/browser/resources/md_downloads/toolbar.html
@@ -1,4 +1,5 @@
<link rel="import" href="chrome://downloads/action_service.html">
+<link rel="import" href="chrome://resources/cr_elements/hidden_style_css.html">
<link rel="import" href="chrome://resources/html/assert.html">
<link rel="import" href="chrome://resources/html/cr.html">
<link rel="import" href="chrome://resources/html/polymer.html">
@@ -12,7 +13,7 @@
<dom-module id="downloads-toolbar">
<template>
- <style>
+ <style include="cr-hidden-style">
:host {
align-items: center;
background: var(--google-blue-700);
@@ -21,10 +22,6 @@
min-height: 56px;
}
- [hidden] {
- display: none !important;
- }
-
#toolbar {
--cr-toolbar-field-width: var(--downloads-card-width);
flex: 1;
« no previous file with comments | « chrome/browser/resources/md_downloads/manager.html ('k') | chrome/browser/resources/md_history/shared_style.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698