Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
| 3 * found in the LICENSE file. | 3 * found in the LICENSE file. |
| 4 */ | 4 */ |
| 5 | 5 |
| 6 .bubble { | 6 .bubble { |
| 7 position: absolute; | 7 position: absolute; |
| 8 white-space: normal; | |
|
Evan Stade
2012/09/21 12:12:11
why is this necessary?
bartfab (slow)
2012/09/24 17:15:55
This is to ensure that the bubble has line breakin
| |
| 8 /* Height is dynamic, width fixed. */ | 9 /* Height is dynamic, width fixed. */ |
| 9 width: 300px; | 10 width: 300px; |
| 10 z-index: 9999; | 11 z-index: 9999; |
| 11 } | 12 } |
| 12 | 13 |
| 13 .bubble-content { | 14 .bubble-content { |
| 14 color: black; | 15 color: black; |
| 15 left: 1px; | 16 left: 1px; |
| 16 line-height: 150%; | 17 line-height: 150%; |
| 17 padding: 8px 11px 12px; | 18 padding: 8px 11px 12px; |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 86 .bubble-shadow, | 87 .bubble-shadow, |
| 87 .bubble-arrow { | 88 .bubble-arrow { |
| 88 border: 1px solid rgba(0, 0, 0, 0.3); | 89 border: 1px solid rgba(0, 0, 0, 0.3); |
| 89 } | 90 } |
| 90 | 91 |
| 91 .bubble-shadow, | 92 .bubble-shadow, |
| 92 .bubble-content { | 93 .bubble-content { |
| 93 border-radius: 6px; | 94 border-radius: 6px; |
| 94 box-sizing: border-box; | 95 box-sizing: border-box; |
| 95 } | 96 } |
| OLD | NEW |