File tree Expand file tree Collapse file tree 2 files changed +24
-7
lines changed
packages/@vue/cli-ui/src/components Expand file tree Collapse file tree 2 files changed +24
-7
lines changed Original file line number Diff line number Diff line change @@ -112,8 +112,12 @@ export default {
112
112
if (this .$route .name === ' project-select' ) {
113
113
this .$router .push (lastRoute || { name: ' home' })
114
114
} else {
115
- const { name , params , query } = this .$route
116
- lastRoute = { name, params, query }
115
+ if (this .$route .name === ' project-create' ) {
116
+ lastRoute = null
117
+ } else {
118
+ const { name , params , query } = this .$route
119
+ lastRoute = { name, params, query }
120
+ }
117
121
this .$router .push ({ name: ' project-select' })
118
122
}
119
123
},
Original file line number Diff line number Diff line change 7
7
>
8
8
<div class =" shell" >
9
9
<div class =" header" >
10
- <div v-if =" title" class =" title" >{{ title }}</div >
10
+ <div class =" content" >
11
+ <div v-if =" title" class =" title" >{{ title }}</div >
12
+ </div >
11
13
</div >
12
14
13
15
<VueTabs
@@ -65,10 +67,19 @@ export default {
65
67
v-box ()
66
68
height 100%
67
69
70
+ .header
71
+ .content
72
+ margin 0 auto
73
+
68
74
.main-tabs
69
75
height 100%
70
76
flex auto 1 1
71
77
78
+ >>> .vue-tab
79
+ margin 0 auto
80
+ padding $padding-item $padding-item 0
81
+ box-sizing border-box
82
+
72
83
.header ,
73
84
>>> .tabs
74
85
background $vue-color-light-neutral
@@ -84,6 +95,7 @@ export default {
84
95
>>> .vue-tab-content
85
96
overflow-y hidden
86
97
v-box ()
98
+ margin 0 auto
87
99
88
100
> .content
89
101
flex 100% 1 1
@@ -107,10 +119,11 @@ export default {
107
119
108
120
& .frame
109
121
margin 0 auto
110
- padding $padding-item
111
- max-width 1200px
122
+ $max-width = 1200px
112
123
.shell
113
- border solid 1px $vue-color-light-neutral
114
- border-radius $br
124
+ background $color-light-background
125
+ .header .content ,
126
+ >>> .vue-tab
127
+ max-width $max-width
115
128
116
129
</style >
You can’t perform that action at this time.
0 commit comments