OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> | 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 18 matching lines...) Expand all Loading... |
29 | 29 |
30 .resource-view { | 30 .resource-view { |
31 display: none; | 31 display: none; |
32 overflow: auto; | 32 overflow: auto; |
33 } | 33 } |
34 | 34 |
35 .resource-view.visible { | 35 .resource-view.visible { |
36 display: flex; | 36 display: flex; |
37 } | 37 } |
38 | 38 |
| 39 .resource-view > * { |
| 40 flex: none; |
| 41 } |
| 42 |
39 .resource-view.font { | 43 .resource-view.font { |
40 font-size: 60px; | 44 font-size: 60px; |
41 white-space: pre-wrap; | 45 white-space: pre-wrap; |
42 word-wrap: break-word; | 46 word-wrap: break-word; |
43 text-align: center; | 47 text-align: center; |
44 padding: 15px; | 48 padding: 15px; |
45 } | 49 } |
46 | 50 |
47 .resource-view .script-view { | 51 .resource-view .script-view { |
48 background-color: rgb(240, 240, 240); | 52 background-color: rgb(240, 240, 240); |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 white-space: pre; | 107 white-space: pre; |
104 content: "\A"; | 108 content: "\A"; |
105 } | 109 } |
106 | 110 |
107 .script-view-fallback { | 111 .script-view-fallback { |
108 word-wrap: break-word; | 112 word-wrap: break-word; |
109 white-space: pre-wrap; | 113 white-space: pre-wrap; |
110 -webkit-user-select: text; | 114 -webkit-user-select: text; |
111 background-color: inherit; | 115 background-color: inherit; |
112 } | 116 } |
OLD | NEW |