fix(client/friendly): モバイルでヘッダーのボタンが表示されない問題

This commit is contained in:
NoriDev 2023-06-04 17:34:29 +09:00
parent f5b6474dd9
commit ca1b8e0dc9

View file

@ -27,7 +27,7 @@
</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"/>
</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">
<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>