|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP
|
2 | 2 |
|
3 | 3 | exports[`renders ./components/layout/demo/basic.vue correctly 1`] = `
|
4 |
| -<section class="ant-layout"> |
5 |
| - <header class="ant-layout-header">Header</header> |
6 |
| - <main class="ant-layout-content">Content</main> |
7 |
| - <footer class="ant-layout-footer">Footer</footer> |
8 |
| -</section> |
9 |
| -<section class="ant-layout"> |
10 |
| - <header class="ant-layout-header">Header</header> |
11 |
| - <section class="ant-layout"> |
12 |
| - <aside class="ant-layout-sider ant-layout-sider-dark" style="flex: 0 0 200px; max-width: 200px; min-width: 200px; width: 200px;"> |
13 |
| - <div class="ant-layout-sider-children">Sider</div> |
14 |
| - <!----> |
15 |
| - </aside> |
16 |
| - <main class="ant-layout-content">Content</main> |
17 |
| - </section> |
18 |
| - <footer class="ant-layout-footer">Footer</footer> |
19 |
| -</section> |
20 |
| -<section class="ant-layout"> |
21 |
| - <header class="ant-layout-header">Header</header> |
22 |
| - <section class="ant-layout"> |
23 |
| - <main class="ant-layout-content">Content</main> |
24 |
| - <aside class="ant-layout-sider ant-layout-sider-dark" style="flex: 0 0 200px; max-width: 200px; min-width: 200px; width: 200px;"> |
25 |
| - <div class="ant-layout-sider-children">Sider</div> |
26 |
| - <!----> |
27 |
| - </aside> |
28 |
| - </section> |
29 |
| - <footer class="ant-layout-footer">Footer</footer> |
30 |
| -</section> |
31 |
| -<section class="ant-layout"> |
32 |
| - <aside class="ant-layout-sider ant-layout-sider-dark" style="flex: 0 0 200px; max-width: 200px; min-width: 200px; width: 200px;"> |
33 |
| - <div class="ant-layout-sider-children">Sider</div> |
34 |
| - <!----> |
35 |
| - </aside> |
36 |
| - <section class="ant-layout"> |
37 |
| - <header class="ant-layout-header">Header</header> |
38 |
| - <main class="ant-layout-content">Content</main> |
39 |
| - <footer class="ant-layout-footer">Footer</footer> |
40 |
| - </section> |
41 |
| -</section> |
| 4 | +<div style="width: 100%;" class="ant-space ant-space-vertical"> |
| 5 | + <div class="ant-space-item" style="margin-bottom: 0px;"> |
| 6 | + <section class="ant-layout"> |
| 7 | + <header class="ant-layout-header" style="text-align: center; color: rgb(255, 255, 255); padding-inline: 50; line-height: 64px; background-color: rgb(125, 188, 234);">Header</header> |
| 8 | + <main class="ant-layout-content" style="text-align: center; min-height: 120; line-height: 120px; color: rgb(255, 255, 255); background-color: rgb(16, 142, 233);">Content</main> |
| 9 | + <footer class="ant-layout-footer" style="text-align: center; color: rgb(255, 255, 255); background-color: rgb(125, 188, 234);">Footer</footer> |
| 10 | + </section> |
| 11 | + </div> |
| 12 | + <!----> |
| 13 | + <div class="ant-space-item" style="margin-bottom: 0px;"> |
| 14 | + <section class="ant-layout"> |
| 15 | + <header class="ant-layout-header" style="text-align: center; color: rgb(255, 255, 255); padding-inline: 50; line-height: 64px; background-color: rgb(125, 188, 234);">Header</header> |
| 16 | + <section class="ant-layout"> |
| 17 | + <aside style="text-align: center; line-height: 120px; color: rgb(255, 255, 255); background-color: rgb(59, 160, 233); flex: 0 0 200px; max-width: 200px; min-width: 200px; width: 200px;" class="ant-layout-sider ant-layout-sider-dark"> |
| 18 | + <div class="ant-layout-sider-children">Sider</div> |
| 19 | + <!----> |
| 20 | + </aside> |
| 21 | + <main class="ant-layout-content" style="text-align: center; min-height: 120; line-height: 120px; color: rgb(255, 255, 255); background-color: rgb(16, 142, 233);">Content</main> |
| 22 | + </section> |
| 23 | + <footer class="ant-layout-footer" style="text-align: center; color: rgb(255, 255, 255); background-color: rgb(125, 188, 234);">Footer</footer> |
| 24 | + </section> |
| 25 | + </div> |
| 26 | + <!----> |
| 27 | + <div class="ant-space-item" style="margin-bottom: 0px;"> |
| 28 | + <section class="ant-layout"> |
| 29 | + <header class="ant-layout-header" style="text-align: center; color: rgb(255, 255, 255); padding-inline: 50; line-height: 64px; background-color: rgb(125, 188, 234);">Header</header> |
| 30 | + <section class="ant-layout"> |
| 31 | + <main class="ant-layout-content" style="text-align: center; min-height: 120; line-height: 120px; color: rgb(255, 255, 255); background-color: rgb(16, 142, 233);">Content</main> |
| 32 | + <aside style="text-align: center; line-height: 120px; color: rgb(255, 255, 255); background-color: rgb(59, 160, 233); flex: 0 0 200px; max-width: 200px; min-width: 200px; width: 200px;" class="ant-layout-sider ant-layout-sider-dark"> |
| 33 | + <div class="ant-layout-sider-children">Sider</div> |
| 34 | + <!----> |
| 35 | + </aside> |
| 36 | + </section> |
| 37 | + <footer class="ant-layout-footer" style="text-align: center; color: rgb(255, 255, 255); background-color: rgb(125, 188, 234);">Footer</footer> |
| 38 | + </section> |
| 39 | + </div> |
| 40 | + <!----> |
| 41 | + <div class="ant-space-item"> |
| 42 | + <section class="ant-layout"> |
| 43 | + <aside style="text-align: center; line-height: 120px; color: rgb(255, 255, 255); background-color: rgb(59, 160, 233); flex: 0 0 200px; max-width: 200px; min-width: 200px; width: 200px;" class="ant-layout-sider ant-layout-sider-dark"> |
| 44 | + <div class="ant-layout-sider-children">Sider</div> |
| 45 | + <!----> |
| 46 | + </aside> |
| 47 | + <section class="ant-layout"> |
| 48 | + <header class="ant-layout-header" style="text-align: center; color: rgb(255, 255, 255); padding-inline: 50; line-height: 64px; background-color: rgb(125, 188, 234);">Header</header> |
| 49 | + <main class="ant-layout-content" style="text-align: center; min-height: 120; line-height: 120px; color: rgb(255, 255, 255); background-color: rgb(16, 142, 233);">Content</main> |
| 50 | + <footer class="ant-layout-footer" style="text-align: center; color: rgb(255, 255, 255); background-color: rgb(125, 188, 234);">Footer</footer> |
| 51 | + </section> |
| 52 | + </section> |
| 53 | + </div> |
| 54 | + <!----> |
| 55 | +</div> |
42 | 56 | `;
|
43 | 57 |
|
44 | 58 | exports[`renders ./components/layout/demo/custom-trigger.vue correctly 1`] = `
|
|
0 commit comments