Change position of "Expand all CWs" button

This commit is contained in:
Jeder 2023-08-28 16:46:03 +02:00
parent 86656e5c57
commit afa27d4811
2 changed files with 13 additions and 17 deletions

View file

@ -1,7 +1,7 @@
<template> <template>
<button <button
v-if="!hideMenu" v-if="!hideMenu"
class="menu _button" class="_buttonIcon _button"
@click.stop="menu" @click.stop="menu"
v-tooltip="i18n.ts.menu" v-tooltip="i18n.ts.menu"
> >
@ -181,11 +181,6 @@ onBeforeUnmount(() => {
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.menu {
width: 3em;
height: 2em;
vertical-align: middle;
}
.follow-button { .follow-button {
position: relative; position: relative;
display: inline-flex; display: inline-flex;
@ -201,6 +196,7 @@ onBeforeUnmount(() => {
border-radius: 100px; border-radius: 100px;
background: var(--bg); background: var(--bg);
vertical-align: middle; vertical-align: middle;
margin-left: 0.5em;
&.full { &.full {
padding: 0.2em 0.7em; padding: 0.2em 0.7em;

View file

@ -91,6 +91,17 @@
</nav> </nav>
</template> </template>
<div class="buttons right"> <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"> <template v-if="metadata && metadata.avatar">
<MkFollowButton <MkFollowButton
v-if="narrow" v-if="narrow"
@ -105,17 +116,6 @@
class="fullButton" class="fullButton"
></MkFollowButton> ></MkFollowButton>
</template> </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> </div>
</header> </header>
</template> </template>