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

Side by Side Diff: chrome/browser/resources/md_history/grouped_list.html

Issue 2073703002: MD History: Simplify flex layout in <history-list> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review comments Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 <link rel="import" href="chrome://resources/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll apse.html"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll apse.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
4 <link rel="import" href="chrome://history/constants.html"> 4 <link rel="import" href="chrome://history/constants.html">
5 <link rel="import" href="chrome://history/history_item.html"> 5 <link rel="import" href="chrome://history/history_item.html">
6 <link rel="import" href="chrome://history/shared_style.html"> 6 <link rel="import" href="chrome://history/shared_style.html">
7 7
8 <dom-module id="history-grouped-list"> 8 <dom-module id="history-grouped-list">
9 <template> 9 <template>
10 <style include="shared-style"> 10 <style include="shared-style">
11 :host { 11 :host {
12 display: block;
12 overflow: auto; 13 overflow: auto;
13 position: relative; 14 position: relative;
14 padding: var(--first-card-padding-top) var(--card-padding-side);
15 } 15 }
16 16
17 #main-container { 17 #main-container {
18 align-items: center; 18 align-items: center;
19 display: flex; 19 display: flex;
20 flex-direction: column; 20 flex-direction: column;
21 padding: var(--first-card-padding-top) var(--card-padding-side);
21 } 22 }
22 23
23 .domain-heading { 24 .domain-heading {
24 align-items: center; 25 align-items: center;
25 display: flex; 26 display: flex;
26 height: 40px; 27 height: 40px;
27 padding: 0 20px; 28 padding: 0 20px;
28 } 29 }
29 30
30 .domain-count { 31 .domain-count {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 </template> 106 </template>
106 </iron-collapse> 107 </iron-collapse>
107 </div> 108 </div>
108 </template> 109 </template>
109 </div> 110 </div>
110 </template> 111 </template>
111 </div> 112 </div>
112 </template> 113 </template>
113 <script src="chrome://history/grouped_list.js"></script> 114 <script src="chrome://history/grouped_list.js"></script>
114 </dom-module> 115 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698