improved theme-related stuff on mobile somewhat (except shadow editor)
This commit is contained in:
parent
f24f164995
commit
dba63e6825
10 changed files with 160 additions and 89 deletions
|
|
@ -128,7 +128,6 @@ export default {
|
|||
const props = slot.props
|
||||
if (!props) return
|
||||
const active = this.activeIndex === index
|
||||
const wrapperClasses = ['tab-content-wrapper', active ? '-active' : '-hidden' ]
|
||||
|
||||
let delayRender = slot.props['delay-render']
|
||||
if (delayRender && active) {
|
||||
|
|
@ -157,6 +156,7 @@ export default {
|
|||
</h2>
|
||||
)
|
||||
|
||||
const wrapperClasses = ['tab-content-wrapper', active ? '-active' : '-hidden' ]
|
||||
const contentClasses = ['tab-content']
|
||||
if (props['full-width']) {
|
||||
contentClasses.push('-full-width')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue