File tree Expand file tree Collapse file tree 4 files changed +5
-4
lines changed
dev/components/new-layout Expand file tree Collapse file tree 4 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -233,7 +233,7 @@ export default {
233233
234234 headerReveal: false ,
235235 footerReveal: false ,
236- leftOverlay: true ,
236+ leftOverlay: false ,
237237 rightOverlay: true ,
238238 leftBehavior: ' default' ,
239239 rightBehavior: ' default' ,
Original file line number Diff line number Diff line change @@ -265,9 +265,8 @@ export default {
265265 } ,
266266 created ( ) {
267267 this . layout . instances [ this . side ] = this
268- if ( this . onLayout ) {
269- this . __update ( 'space' , true )
270- }
268+ this . __update ( 'space' , this . onLayout )
269+ this . __update ( 'offset' , this . offset )
271270
272271 this . $nextTick ( ( ) => {
273272 this . animateOverlay = true
Original file line number Diff line number Diff line change @@ -103,6 +103,7 @@ export default {
103103 created ( ) {
104104 this . layout . instances . footer = this
105105 this . __update ( 'space' , this . value )
106+ this . __update ( 'offset' , this . offset )
106107 } ,
107108 beforeDestroy ( ) {
108109 if ( this . layout . instances . footer === this ) {
Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ export default {
107107 created ( ) {
108108 this . layout . instances . header = this
109109 this . __update ( 'space' , this . value )
110+ this . __update ( 'offset' , this . offset )
110111 } ,
111112 beforeDestroy ( ) {
112113 if ( this . layout . instances . header === this ) {
You can’t perform that action at this time.
0 commit comments