fix(client/friendly): モバイルでヘッダーのボタンが表示されない問題
This commit is contained in:
parent
f5b6474dd9
commit
ca1b8e0dc9
|
@ -27,7 +27,7 @@
|
||||||
</div>
|
</div>
|
||||||
<XTabs v-if="(!narrow || hideTitle) && !isFriendly" :class="[$style.tabs, { [$style.tabs_canBack]: !canBack }]" :tab="tab" :tabs="tabs" :rootEl="el" @update:tab="key => emit('update:tab', key)" @tabClick="onTabClick"/>
|
<XTabs v-if="(!narrow || hideTitle) && !isFriendly" :class="[$style.tabs, { [$style.tabs_canBack]: !canBack }]" :tab="tab" :tabs="tabs" :rootEl="el" @update:tab="key => emit('update:tab', key)" @tabClick="onTabClick"/>
|
||||||
</template>
|
</template>
|
||||||
<div v-if="(!thin_ && narrow && !hideTitle) || (actions && actions.length > 0 && hideTitle && mainRouter.currentRoute.value.name === 'index')" :class="$style.buttonsRight"/>
|
<div v-if="!thin_ && !narrow && actions && actions.length > 0 && hideTitle && mainRouter.currentRoute.value.name === 'index'" :class="$style.buttonsRight"/>
|
||||||
<div v-else-if="(!thin_ && narrow && !hideTitle) || (actions && actions.length > 0)" :class="$style.buttonsRight">
|
<div v-else-if="(!thin_ && narrow && !hideTitle) || (actions && actions.length > 0)" :class="$style.buttonsRight">
|
||||||
<template v-for="action in actions">
|
<template v-for="action in actions">
|
||||||
<button v-tooltip.noDelay="action.text" class="_button" :class="[$style.button, { [$style.highlighted]: action.highlighted }]" @click.stop="action.handler" @touchstart="preventDrag"><i :class="action.icon"></i></button>
|
<button v-tooltip.noDelay="action.text" class="_button" :class="[$style.button, { [$style.highlighted]: action.highlighted }]" @click.stop="action.handler" @touchstart="preventDrag"><i :class="action.icon"></i></button>
|
||||||
|
|
Loading…
Reference in a new issue