File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
frontend/express/public/javascripts/countly/vue Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 22( function ( countlyVue ) {
33 Vue . component ( "cly-content-layout" , countlyVue . components . create ( {
44 props : {
5+ popperClass : {
6+ type : String ,
7+ required : false ,
8+ default : null
9+ } ,
510 backgroundColor : {
611 type : String ,
712 required : false ,
1520 } ;
1621 } ,
1722 computed : {
23+ containerClass ( ) {
24+ return this . popperClass || 'cly-vue-content-builder__layout-main' ;
25+ }
1826 } ,
1927 template : CV . T ( '/javascripts/countly/vue/templates/content/content.html' ) ,
2028 methods : {
148156
149157 Vue . component ( "cly-content-body" , countlyVue . components . create ( {
150158 props : {
151- currentTab : {
152- type : String ,
153- required : false ,
154- default : null
155- } ,
156159 hideLeftSidebar : {
157160 type : Boolean ,
158161 required : false ,
Original file line number Diff line number Diff line change 33 < slot name ="content-layout-header " :background-color ="backgroundColor ">
44 </ slot >
55 </ div >
6- < div class ="cly-vue-content-builder__layout-main " :style ="{'background-color': backgroundColor} ">
6+ < div : class ="containerClass " :style ="{'background-color': backgroundColor} ">
77 < slot name ="content-layout-body "> </ slot >
88 </ div >
99</ div >
You can’t perform that action at this time.
0 commit comments