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

Side by Side Diff: chrome/browser/resources/md_history/app.vulcanized.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, 4 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 <html><head><!-- 1 <html><head><!--
2 @license 2 @license
3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved. 3 Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt 4 This code may only be used under the BSD style license found at http://polymer.g ithub.io/LICENSE.txt
5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt
6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI BUTORS.txt
7 Code distributed by Google as part of the polymer project is also 7 Code distributed by Google as part of the polymer project is also
8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN TS.txt
9 --><!-- 9 --><!--
10 @license 10 @license
(...skipping 3945 matching lines...) Expand 10 before | Expand all | Expand 10 after
3956 } 3956 }
3957 </style> 3957 </style>
3958 <style include="shared-style"> 3958 <style include="shared-style">
3959 :host { 3959 :host {
3960 display: block; 3960 display: block;
3961 height: 100%; 3961 height: 100%;
3962 overflow: hidden; 3962 overflow: hidden;
3963 } 3963 }
3964 3964
3965 /* Sizing this with flex causes slow load performance, see 3965 /* Sizing this with flex causes slow load performance, see
3966 crbug.com/618153. */ 3966 * crbug.com/618153. TODO(dbeam): is this still an issue? */
3967 #main-container { 3967 #main-container {
3968 height: calc(100% - var(--toolbar-height)); 3968 height: calc(100% - var(--toolbar-height));
3969 } 3969 }
3970 3970
3971 :host([grouped_]) #main-container { 3971 :host([grouped_]) #main-container {
3972 height: calc(100% - var(--toolbar-grouped-height)); 3972 height: calc(100% - var(--toolbar-grouped-height));
3973 } 3973 }
3974 3974
3975 #content-side-bar { 3975 #content-side-bar {
3976 float: left; 3976 float: left;
3977 } 3977 }
3978 3978
3979 :host-context([dir='rtl']) #content-side-bar {
3980 float: right;
3981 }
3982
3979 #content, 3983 #content,
3980 #content > * { 3984 #content > * {
3981 height: 100%; 3985 height: 100%;
3982 } 3986 }
3983 3987
3984 #drawer-header { 3988 #drawer-header {
3985 align-items: center; 3989 align-items: center;
3986 border-bottom: 1px solid rgba(0, 0, 0, 0.08); 3990 border-bottom: 1px solid rgba(0, 0, 0, 0.08);
3987 display: flex; 3991 display: flex;
3988 height: var(--toolbar-height); 3992 height: var(--toolbar-height);
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
4025 <history-side-bar id="drawer-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" drawer=""> 4029 <history-side-bar id="drawer-side-bar" selected-page="[[selectedPage_]]" route="[[route_]]" show-footer="[[showSidebarFooter]]" drawer="">
4026 </history-side-bar> 4030 </history-side-bar>
4027 </app-drawer> 4031 </app-drawer>
4028 </template> 4032 </template>
4029 4033
4030 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" > 4034 <iron-media-query query="(max-width: 1023px)" query-matches="{{hasDrawer_}}" >
4031 </iron-media-query> 4035 </iron-media-query>
4032 </template> 4036 </template>
4033 </dom-module> 4037 </dom-module>
4034 <script src="app.crisper.js"></script></body></html> 4038 <script src="app.crisper.js"></script></body></html>
OLDNEW
« chrome/browser/resources/md_history/app.html ('K') | « chrome/browser/resources/md_history/app.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698