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

Side by Side Diff: ui/webui/resources/cr_elements/cr_dialog/cr_dialog.html

Issue 2365503003: cr-dialog scrollbar should span entire body (Closed)
Patch Set: Vulcanized. Created 4 years, 2 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 | « chrome/browser/resources/md_history/app.vulcanized.html ('k') | no next file » | 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/cr_elements/icons.html"> 1 <link rel="import" href="chrome://resources/cr_elements/icons.html">
2 <link rel="import" href="chrome://resources/html/assert.html"> 2 <link rel="import" href="chrome://resources/html/assert.html">
3 <link rel="import" href="chrome://resources/html/polymer.html"> 3 <link rel="import" href="chrome://resources/html/polymer.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
5 5
6 <dom-module id="cr-dialog"> 6 <dom-module id="cr-dialog">
7 <template> 7 <template>
8 <style> 8 <style>
9 :host { 9 :host {
10 border: 0; 10 border: 0;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 .body-container { 50 .body-container {
51 display: flex; 51 display: flex;
52 flex-direction: column; 52 flex-direction: column;
53 max-width: 800px; 53 max-width: 800px;
54 min-width: 512px; 54 min-width: 512px;
55 /* TODO(dbeam): use <paper-dialog-scrollable> to get dividers? */ 55 /* TODO(dbeam): use <paper-dialog-scrollable> to get dividers? */
56 overflow: auto; 56 overflow: auto;
57 } 57 }
58 58
59 :host ::content .body { 59 :host ::content .body {
60 margin: 12px 0; 60 padding-bottom: 12px;
61 padding-top: 12px;
61 } 62 }
62 63
63 :host ::content .body, 64 :host ::content .body,
64 :host ::content .title { 65 :host ::content .title {
65 -webkit-padding-end: 24px; 66 -webkit-padding-end: 24px;
66 -webkit-padding-start: 24px; 67 -webkit-padding-start: 24px;
67 flex: 1; 68 flex: 1;
68 } 69 }
69 70
70 :host ::content .button-container { 71 :host ::content .button-container {
(...skipping 24 matching lines...) Expand all
95 </paper-icon-button> 96 </paper-icon-button>
96 </div> 97 </div>
97 <div class="body-container"> 98 <div class="body-container">
98 <content select=".body"></content> 99 <content select=".body"></content>
99 </div> 100 </div>
100 <content select=".button-container"></content> 101 <content select=".button-container"></content>
101 <content select=".footer"></content> 102 <content select=".footer"></content>
102 </template> 103 </template>
103 <script src="cr_dialog.js"></script> 104 <script src="cr_dialog.js"></script>
104 </dom-module> 105 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_history/app.vulcanized.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698