| Index: chrome/browser/resources/md_downloads/item.css
|
| diff --git a/chrome/browser/resources/md_downloads/item.css b/chrome/browser/resources/md_downloads/item.css
|
| index 87e78c886c35e45767f195c02c8e4ec8834db383..0e9c412b1779877d088031fd289277becbf12e7f 100644
|
| --- a/chrome/browser/resources/md_downloads/item.css
|
| +++ b/chrome/browser/resources/md_downloads/item.css
|
| @@ -12,20 +12,12 @@
|
| margin-top: -16px;
|
| }
|
|
|
| -/* Day separators. */
|
| -:host(:not(:first-of-type):not([hide-date])) :-webkit-any(#content-wrapper,
|
| - #since) {
|
| - border-top: 1px solid rgba(0, 0, 0, .2); /* TODO(dbeam): real color. */
|
| - padding-top: 32px;
|
| -}
|
| -
|
| #date-container,
|
| #end-cap {
|
| flex: 1 0 var(--downloads-side-column-basis);
|
| }
|
|
|
| #date-container > * {
|
| - -webkit-margin-start: 24px;
|
| color: #616161;
|
| font-size: 107.69%;
|
| font-weight: bold;
|
| @@ -146,3 +138,38 @@
|
| --iron-icon-height: 16px;
|
| --iron-icon-width: 16px;
|
| }
|
| +
|
| +@media not all and (max-width: 1024px) {
|
| + /* Only show date separators in wide mode. */
|
| + :host(:not(:first-of-type):not([hide-date])) :-webkit-any(#content-wrapper,
|
| + #since) {
|
| + border-top: 1px solid rgba(0, 0, 0, .2); /* TODO(dbeam): real color. */
|
| + padding-top: 32px;
|
| + }
|
| +
|
| + #date-container > * {
|
| + -webkit-margin-start: 24px;
|
| + }
|
| +}
|
| +
|
| +@media all and (max-width: 1024px) {
|
| + /* In narrow windows, put the dates on top instead of on the side. */
|
| + :host {
|
| + flex-direction: column;
|
| + }
|
| +
|
| + :host([hide-date]) #date-container,
|
| + #end-cap {
|
| + display: none;
|
| + }
|
| +
|
| + #content {
|
| + margin: 0 auto;
|
| + }
|
| +
|
| + #date-container {
|
| + flex: none !important;
|
| + margin: 0 auto 32px;
|
| + width: var(--downloads-item-width);
|
| + }
|
| +}
|
|
|