Revert "unify styling of timelines dropdown with other dropdown menus"

This reverts commit 898b326f6c.
This commit is contained in:
Henry Jameson 2022-06-29 21:12:56 +03:00
parent d232fa3dc3
commit feb8a17b90
1 changed files with 62 additions and 57 deletions

View File

@ -1,8 +1,8 @@
<template> <template>
<div class="dropdown-menu"> <ul>
<li v-if="currentUser">
<router-link <router-link
v-if="currentUser" class="menu-item"
class="dropdown-item button-default"
:to="{ name: 'friends' }" :to="{ name: 'friends' }"
> >
<FAIcon <FAIcon
@ -11,9 +11,10 @@
icon="home" icon="home"
/>{{ $t("nav.home_timeline") }} />{{ $t("nav.home_timeline") }}
</router-link> </router-link>
</li>
<li v-if="currentUser || !privateMode">
<router-link <router-link
v-if="currentUser || !privateMode" class="menu-item"
class="dropdown-item button-default"
:to="{ name: 'public-timeline' }" :to="{ name: 'public-timeline' }"
> >
<FAIcon <FAIcon
@ -22,9 +23,10 @@
icon="users" icon="users"
/>{{ $t("nav.public_tl") }} />{{ $t("nav.public_tl") }}
</router-link> </router-link>
</li>
<li v-if="federating && (currentUser || !privateMode)">
<router-link <router-link
v-if="federating && (currentUser || !privateMode)" class="menu-item"
class="dropdown-item button-default"
:to="{ name: 'public-external-timeline' }" :to="{ name: 'public-external-timeline' }"
> >
<FAIcon <FAIcon
@ -33,9 +35,10 @@
icon="globe" icon="globe"
/>{{ $t("nav.twkn") }} />{{ $t("nav.twkn") }}
</router-link> </router-link>
</li>
<li v-if="currentUser">
<router-link <router-link
v-if="currentUser" class="menu-item"
class="dropdown-item button-default"
:to="{ name: 'bookmarks'}" :to="{ name: 'bookmarks'}"
> >
<FAIcon <FAIcon
@ -44,9 +47,10 @@
icon="bookmark" icon="bookmark"
/>{{ $t("nav.bookmarks") }} />{{ $t("nav.bookmarks") }}
</router-link> </router-link>
</li>
<li v-if="currentUser">
<router-link <router-link
v-if="currentUser" class="menu-item"
class="dropdown-item button-default"
:to="{ name: 'dms', params: { username: currentUser.screen_name } }" :to="{ name: 'dms', params: { username: currentUser.screen_name } }"
> >
<FAIcon <FAIcon
@ -55,7 +59,8 @@
icon="envelope" icon="envelope"
/>{{ $t("nav.dms") }} />{{ $t("nav.dms") }}
</router-link> </router-link>
</div> </li>
</ul>
</template> </template>
<script src="./timeline_menu_content.js" ></script> <script src="./timeline_menu_content.js" ></script>