mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
Change position of "Expand all CWs" button
This commit is contained in:
parent
86656e5c57
commit
afa27d4811
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<button
|
||||
v-if="!hideMenu"
|
||||
class="menu _button"
|
||||
class="_buttonIcon _button"
|
||||
@click.stop="menu"
|
||||
v-tooltip="i18n.ts.menu"
|
||||
>
|
||||
@ -181,11 +181,6 @@ onBeforeUnmount(() => {
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.menu {
|
||||
width: 3em;
|
||||
height: 2em;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.follow-button {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
@ -201,6 +196,7 @@ onBeforeUnmount(() => {
|
||||
border-radius: 100px;
|
||||
background: var(--bg);
|
||||
vertical-align: middle;
|
||||
margin-left: 0.5em;
|
||||
|
||||
&.full {
|
||||
padding: 0.2em 0.7em;
|
||||
|
@ -91,6 +91,17 @@
|
||||
</nav>
|
||||
</template>
|
||||
<div class="buttons right">
|
||||
<template v-for="action in actions">
|
||||
<button
|
||||
v-tooltip.noDelay="action.text"
|
||||
class="_buttonIcon _button"
|
||||
:class="{ highlighted: action.highlighted }"
|
||||
@click.stop="action.handler"
|
||||
@touchstart="preventDrag"
|
||||
>
|
||||
<i :class="action.icon"></i>
|
||||
</button>
|
||||
</template>
|
||||
<template v-if="metadata && metadata.avatar">
|
||||
<MkFollowButton
|
||||
v-if="narrow"
|
||||
@ -105,17 +116,6 @@
|
||||
class="fullButton"
|
||||
></MkFollowButton>
|
||||
</template>
|
||||
<template v-for="action in actions">
|
||||
<button
|
||||
v-tooltip.noDelay="action.text"
|
||||
class="_buttonIcon button"
|
||||
:class="{ highlighted: action.highlighted }"
|
||||
@click.stop="action.handler"
|
||||
@touchstart="preventDrag"
|
||||
>
|
||||
<i :class="action.icon"></i>
|
||||
</button>
|
||||
</template>
|
||||
</div>
|
||||
</header>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user