diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2022-07-16 13:49:23 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2022-07-16 13:49:23 +0900 |
| commit | 57e533a5eff4e92871505cc9b3887af31849c2d3 (patch) | |
| tree | 1288a7229c650414d122e50bfa98139bf40850b2 /packages/client/src/pages/admin/_header_.vue | |
| parent | refactor(client): use setup syntax (diff) | |
| download | misskey-57e533a5eff4e92871505cc9b3887af31849c2d3.tar.gz misskey-57e533a5eff4e92871505cc9b3887af31849c2d3.tar.bz2 misskey-57e533a5eff4e92871505cc9b3887af31849c2d3.zip | |
chore(client): tweak ui
Diffstat (limited to 'packages/client/src/pages/admin/_header_.vue')
| -rw-r--r-- | packages/client/src/pages/admin/_header_.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/client/src/pages/admin/_header_.vue b/packages/client/src/pages/admin/_header_.vue index aea2663c39..b2c33fdc95 100644 --- a/packages/client/src/pages/admin/_header_.vue +++ b/packages/client/src/pages/admin/_header_.vue @@ -9,7 +9,7 @@ </div> </div> <div class="tabs"> - <button v-for="tab in tabs" :ref="(el) => tabRefs[tab.key] = el" v-tooltip="tab.title" class="tab _button" :class="{ active: tab.key != null && tab.key === props.tab }" @mousedown="(ev) => onTabMousedown(tab, ev)" @click="(ev) => onTabClick(tab, ev)"> + <button v-for="tab in tabs" :ref="(el) => tabRefs[tab.key] = el" v-tooltip.noDelay="tab.title" class="tab _button" :class="{ active: tab.key != null && tab.key === props.tab }" @mousedown="(ev) => onTabMousedown(tab, ev)" @click="(ev) => onTabClick(tab, ev)"> <i v-if="tab.icon" class="icon" :class="tab.icon"></i> <span v-if="!tab.iconOnly" class="title">{{ tab.title }}</span> </button> @@ -20,7 +20,7 @@ <template v-if="actions"> <template v-for="action in actions"> <MkButton v-if="action.asFullButton" class="fullButton" primary @click.stop="action.handler"><i :class="action.icon" style="margin-right: 6px;"></i>{{ action.text }}</MkButton> - <button v-else v-tooltip="action.text" class="_button button" :class="{ highlighted: action.highlighted }" @click.stop="action.handler" @touchstart="preventDrag"><i :class="action.icon"></i></button> + <button v-else v-tooltip.noDelay="action.text" class="_button button" :class="{ highlighted: action.highlighted }" @click.stop="action.handler" @touchstart="preventDrag"><i :class="action.icon"></i></button> </template> </template> </div> |