File tree Expand file tree Collapse file tree 4 files changed +16
-6
lines changed Expand file tree Collapse file tree 4 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 11<template >
22<v-calendar
33 :is-double-paned =' isDoublePaned'
4+ :is-expanded =' isExpanded'
45 :title-position =' titlePosition'
56 :title-transition =' titleTransition'
6- :weeks-transition =' weeksTransition' >
7+ :weeks-transition =' weeksTransition'
8+ >
79</v-calendar >
810</template >
911
1012<script >
1113export default {
1214 props: {
1315 isDoublePaned: { type: Boolean , default: true },
16+ isExpanded: { type: Boolean , default: false },
1417 titlePosition: { type: String , default: ' center' },
1518 titleTransition: { type: String , default: ' slide-h' },
1619 weeksTransition: { type: String , default: ' slide-h' },
Original file line number Diff line number Diff line change 2626 </b-tab-item >
2727 <!-- Intro Options-->
2828 <b-tab-item label =' Options' icon =' gear' >
29- <b-field >
30- <b-switch v-model =' isDoublePaned' >Double Paned</b-switch >
29+ <b-field grouped >
30+ <b-field >
31+ <b-switch v-model =' isDoublePaned' >Double Paned</b-switch >
32+ </b-field >
33+ <b-field >
34+ <b-switch v-model =' isExpanded' >Is Expanded</b-switch >
35+ </b-field >
3136 </b-field >
3237 <b-field label =' Title Position' >
3338 <p class =' control' >
6368 <div class =' example-container' >
6469 <ex-intro
6570 :is-double-paned =' isDoublePaned'
71+ :is-expanded =' isExpanded'
6672 :title-position =' titlePosition'
6773 :title-transition =' titleTransition'
6874 :weeks-transition =' weeksTransition' >
@@ -86,6 +92,7 @@ export default {
8692 return {
8793 exIntroCode: ExIntroCode,
8894 isDoublePaned: true ,
95+ isExpanded: false ,
8996 titlePosition: ' center' ,
9097 titleTransition: ' slide-h' ,
9198 weeksTransition: ' slide-h' ,
Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ export default {
230230 min-width : $paneMinWidth * 2
231231 width : $paneWidth * 2
232232 & .is-expanded
233- display : flex
233+ width : 100 %
234234
235235.c-pane-divider
236236 width : 1px
Original file line number Diff line number Diff line change 11<template >
22 <div
3- :class =' ["c-pane", { "is-full-width ": position === 0 }]' >
3+ :class =' ["c-pane", { "is-single ": position === 0 }]' >
44 <!-- Header-->
55 <div class =' c-header-wrapper' >
66 <!-- Header vertical divider-->
@@ -462,7 +462,7 @@ export default {
462462 flex-direction : column
463463 align-items : stretch
464464 overflow : hidden
465- & .is-full-width
465+ & .is-single
466466 width : 100%
467467
468468.c-header-wrapper
You can’t perform that action at this time.
0 commit comments