File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,9 @@ export default Vue.extend({
4141 noCaps : Boolean ,
4242
4343 tabindex : [ String , Number ] ,
44- disable : Boolean
44+ disable : Boolean ,
45+
46+ contentClass : String
4547 } ,
4648
4749 computed : {
@@ -151,7 +153,7 @@ export default Vue.extend({
151153
152154 h ( 'div' , {
153155 staticClass : 'q-tab__content self-stretch flex-center relative-position q-anchor--skip non-selectable' ,
154- class : this . tabs . inlineLabel === true ? 'row no-wrap q-tab__content--inline' : 'column'
156+ class : [ this . tabs . inlineLabel === true ? 'row no-wrap q-tab__content--inline' : 'column' , this . contentClass ] . join ( ' ' )
155157 } , mergeSlot ( content , this , 'default' ) )
156158 ]
157159
Original file line number Diff line number Diff line change @@ -86,7 +86,9 @@ export default Vue.extend({
8686 inlineLabel : Boolean ,
8787 noCaps : Boolean ,
8888
89- dense : Boolean
89+ dense : Boolean ,
90+
91+ contentClass : String
9092 } ,
9193
9294 data ( ) {
@@ -397,7 +399,7 @@ export default Vue.extend({
397399 h ( 'div' , {
398400 ref : 'content' ,
399401 staticClass : 'q-tabs__content row no-wrap items-center self-stretch hide-scrollbar' ,
400- class : this . alignClass
402+ class : [ this . alignClass , this . contentClass ] . join ( ' ' )
401403 } , slot ( this , 'default' ) )
402404 ]
403405
You can’t perform that action at this time.
0 commit comments