| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2015 The Chromium Authors. All rights reserved. | 2 * Copyright (c) 2015 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 :host { | 7 .widget { |
| 8 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.2), 0 2p
x 6px rgba(0, 0, 0, 0.1); | 8 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.2), 0 2p
x 6px rgba(0, 0, 0, 0.1); |
| 9 background: white; | 9 background: white; |
| 10 justify-content: flex-start; | 10 justify-content: flex-start; |
| 11 align-items: stretch; | 11 align-items: stretch; |
| 12 } | |
| 13 | |
| 14 .widget { | |
| 15 display: flex; | 12 display: flex; |
| 16 flex: auto; | |
| 17 justify-content: flex-start; | |
| 18 align-items: stretch; | |
| 19 } | |
| 20 | |
| 21 :host-context(.wraps-content) { | |
| 22 align-items: flex-start; | |
| 23 overflow: hidden; | |
| 24 } | |
| 25 | |
| 26 :host-context(.wraps-content) .widget { | |
| 27 flex: none !important; | |
| 28 align-items: center; | |
| 29 } | 13 } |
| 30 | 14 |
| 31 .dialog-close-button { | 15 .dialog-close-button { |
| 32 position: absolute; | 16 position: absolute; |
| 33 right: 9px; | 17 right: 9px; |
| 34 top: 9px; | 18 top: 9px; |
| 19 z-index: 1; |
| 35 } | 20 } |
| OLD | NEW |