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

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

Issue 2268353004: MD History: fix side nav layout in RTL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/resources/md_history/app.vulcanized.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/html/cr/ui.html"> 2 <link rel="import" href="chrome://resources/html/cr/ui.html">
3 <link rel="import" href="chrome://resources/html/cr/ui/command.html"> 3 <link rel="import" href="chrome://resources/html/cr/ui/command.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/app-layout/app-drawer/a pp-drawer.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/app-layout/app-drawer/a pp-drawer.html">
5 <link rel="import" href="chrome://resources/polymer/v1_0/app-route/app-location. html"> 5 <link rel="import" href="chrome://resources/polymer/v1_0/app-route/app-location. html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/app-route/app-route.htm l"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/app-route/app-route.htm l">
7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-media-query/iron-m edia-query.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-media-query/iron-m edia-query.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-pages/iron-pages.h tml"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-pages/iron-pages.h tml">
9 <link rel="import" href="chrome://history/history_toolbar.html"> 9 <link rel="import" href="chrome://history/history_toolbar.html">
10 <link rel="import" href="chrome://history/list_container.html"> 10 <link rel="import" href="chrome://history/list_container.html">
(...skipping 10 matching lines...) Expand all
21 } 21 }
22 </style> 22 </style>
23 <style include="shared-style"> 23 <style include="shared-style">
24 :host { 24 :host {
25 display: block; 25 display: block;
26 height: 100%; 26 height: 100%;
27 overflow: hidden; 27 overflow: hidden;
28 } 28 }
29 29
30 /* Sizing this with flex causes slow load performance, see 30 /* Sizing this with flex causes slow load performance, see
31 crbug.com/618153. */ 31 * crbug.com/618153. TODO(dbeam): is this still an issue? */
tsergeant 2016/08/23 23:06:59 It's not, I just haven't had a chance to get back
32 #main-container { 32 #main-container {
33 height: calc(100% - var(--toolbar-height)); 33 height: calc(100% - var(--toolbar-height));
34 } 34 }
35 35
36 :host([grouped_]) #main-container { 36 :host([grouped_]) #main-container {
37 height: calc(100% - var(--toolbar-grouped-height)); 37 height: calc(100% - var(--toolbar-grouped-height));
38 } 38 }
39 39
40 #content-side-bar { 40 #content-side-bar {
41 float: left; 41 float: left;
42 } 42 }
43 43
44 :host-context([dir='rtl']) #content-side-bar {
45 float: right;
46 }
47
44 #content, 48 #content,
45 #content > * { 49 #content > * {
46 height: 100%; 50 height: 100%;
47 } 51 }
48 52
49 #drawer-header { 53 #drawer-header {
50 align-items: center; 54 align-items: center;
51 border-bottom: 1px solid rgba(0, 0, 0, 0.08); 55 border-bottom: 1px solid rgba(0, 0, 0, 0.08);
52 display: flex; 56 display: flex;
53 height: var(--toolbar-height); 57 height: var(--toolbar-height);
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 </history-side-bar> 115 </history-side-bar>
112 </app-drawer> 116 </app-drawer>
113 </template> 117 </template>
114 118
115 <iron-media-query query="(max-width: 1023px)" 119 <iron-media-query query="(max-width: 1023px)"
116 query-matches="{{hasDrawer_}}"> 120 query-matches="{{hasDrawer_}}">
117 </iron-media-query> 121 </iron-media-query>
118 </template> 122 </template>
119 <script src="chrome://history/app.js"></script> 123 <script src="chrome://history/app.js"></script>
120 </dom-module> 124 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/md_history/app.vulcanized.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698