-
-
@@ -104,6 +104,10 @@
wordWrap: {
type: Boolean,
default: false
+ },
+ // default by css: 8px 16px
+ padding: {
+ type: String
}
},
data () {
@@ -161,6 +165,11 @@
[`${prefixCls}-body-content-word-wrap`]: this.wordWrap
}
];
+ },
+ contentPaddingStyle () {
+ const styles = {};
+ if (!!this.padding) styles['padding'] = this.padding;
+ return styles;
}
},
methods: {