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

View File

@ -1,61 +1,66 @@
<template> <template>
<div class="dropdown-menu"> <ul>
<router-link <li v-if="currentUser">
v-if="currentUser" <router-link
class="dropdown-item button-default" class="menu-item"
:to="{ name: 'friends' }" :to="{ name: 'friends' }"
> >
<FAIcon <FAIcon
fixed-width fixed-width
class="fa-scale-110 fa-old-padding " class="fa-scale-110 fa-old-padding "
icon="home" icon="home"
/>{{ $t("nav.home_timeline") }} />{{ $t("nav.home_timeline") }}
</router-link> </router-link>
<router-link </li>
v-if="currentUser || !privateMode" <li v-if="currentUser || !privateMode">
class="dropdown-item button-default" <router-link
:to="{ name: 'public-timeline' }" class="menu-item"
> :to="{ name: 'public-timeline' }"
<FAIcon >
fixed-width <FAIcon
class="fa-scale-110 fa-old-padding " fixed-width
icon="users" class="fa-scale-110 fa-old-padding "
/>{{ $t("nav.public_tl") }} icon="users"
</router-link> />{{ $t("nav.public_tl") }}
<router-link </router-link>
v-if="federating && (currentUser || !privateMode)" </li>
class="dropdown-item button-default" <li v-if="federating && (currentUser || !privateMode)">
:to="{ name: 'public-external-timeline' }" <router-link
> class="menu-item"
<FAIcon :to="{ name: 'public-external-timeline' }"
fixed-width >
class="fa-scale-110 fa-old-padding " <FAIcon
icon="globe" fixed-width
/>{{ $t("nav.twkn") }} class="fa-scale-110 fa-old-padding "
</router-link> icon="globe"
<router-link />{{ $t("nav.twkn") }}
v-if="currentUser" </router-link>
class="dropdown-item button-default" </li>
:to="{ name: 'bookmarks'}" <li v-if="currentUser">
> <router-link
<FAIcon class="menu-item"
fixed-width :to="{ name: 'bookmarks'}"
class="fa-scale-110 fa-old-padding " >
icon="bookmark" <FAIcon
/>{{ $t("nav.bookmarks") }} fixed-width
</router-link> class="fa-scale-110 fa-old-padding "
<router-link icon="bookmark"
v-if="currentUser" />{{ $t("nav.bookmarks") }}
class="dropdown-item button-default" </router-link>
:to="{ name: 'dms', params: { username: currentUser.screen_name } }" </li>
> <li v-if="currentUser">
<FAIcon <router-link
fixed-width class="menu-item"
class="fa-scale-110 fa-old-padding " :to="{ name: 'dms', params: { username: currentUser.screen_name } }"
icon="envelope" >
/>{{ $t("nav.dms") }} <FAIcon
</router-link> fixed-width
</div> class="fa-scale-110 fa-old-padding "
icon="envelope"
/>{{ $t("nav.dms") }}
</router-link>
</li>
</ul>
</template> </template>
<script src="./timeline_menu_content.js" ></script> <script src="./timeline_menu_content.js" ></script>