grid moved to global view
This commit is contained in:
parent
1a1dfad6a5
commit
1aa9fe4412
3 changed files with 16 additions and 27 deletions
15
src/App.vue
15
src/App.vue
|
|
@ -4,9 +4,16 @@ import NavBar from '@/components/Navbar/NavBar.vue'
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<NavBar />
|
<NavBar />
|
||||||
<router-view />
|
|
||||||
|
<n-grid responsive="screen" item-responsive cols="24" :x-gap="16" :y-gap="16">
|
||||||
|
<n-gi span="xs:1 s:1 m:2 l:2 xl:3 xxl:3" />
|
||||||
|
|
||||||
|
<n-gi span="xs:22 s:22 m:20 l:20 xl:18 xxl:18">
|
||||||
|
<router-view />
|
||||||
|
</n-gi>
|
||||||
|
|
||||||
|
<n-gi span="xs:1 s:1 m:2 l:2 xl:3 xxl:3" />
|
||||||
|
</n-grid>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped></style>
|
||||||
|
|
||||||
</style>
|
|
||||||
|
|
|
||||||
|
|
@ -124,6 +124,7 @@ const renderLabel = (option) => {
|
||||||
border-bottom: 1px solid #eee;
|
border-bottom: 1px solid #eee;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo {
|
.logo {
|
||||||
|
|
|
||||||
|
|
@ -3,28 +3,9 @@ import List from '@/views/PersonalView/List.vue'
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<n-grid
|
<n-card bordered title="Personal info">
|
||||||
responsive="screen"
|
<List />
|
||||||
item-responsive
|
</n-card>
|
||||||
cols="24"
|
|
||||||
:x-gap="16"
|
|
||||||
:y-gap="16"
|
|
||||||
>
|
|
||||||
<n-gi span="xs:1 s:1 m:2 l:2 xl:3 xxl:3"/>
|
|
||||||
|
|
||||||
<n-gi span="xs:22 s:22 m:20 l:20 xl:18 xxl:18">
|
|
||||||
<n-card class="personal-card"
|
|
||||||
bordered title="Personal info">
|
|
||||||
<List />
|
|
||||||
</n-card>
|
|
||||||
</n-gi>
|
|
||||||
|
|
||||||
<n-gi span="xs:1 s:1 m:2 l:2 xl:3 xxl:3"/>
|
|
||||||
</n-grid>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped></style>
|
||||||
.personal-card {
|
|
||||||
margin: 10px auto 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue