perf[css]: refine style
This commit is contained in:
parent
9b7a9a64e5
commit
6a5197ad51
|
@ -1,5 +1,4 @@
|
|||
<template>
|
||||
<div style="background:#f0f2f5;height:100%;">
|
||||
<div class="wscn-http404-container">
|
||||
<div class="wscn-http404">
|
||||
<div class="pic-404">
|
||||
|
@ -19,10 +18,8 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
<script>
|
||||
import img_404 from '@/assets/404_images/404.png'
|
||||
import img_404_cloud from '@/assets/404_images/404_cloud.png'
|
||||
|
|
|
@ -24,12 +24,10 @@ export default {
|
|||
|
||||
<style scoped>
|
||||
.app-main {
|
||||
position: absolute;
|
||||
top: 84px; /* navbar + tags-view = 50 +34 */
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
margin: auto;
|
||||
/*84 = navbar + tags-view = 50 +34 */
|
||||
min-height: calc(100vh - 84px);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
</style>
|
||||
|
||||
|
|
Loading…
Reference in New Issue