|
57 | 57 | class="-ml-2 -mr-2 border-b border-b-light pb-2 pl-2 pr-2"
|
58 | 58 | >
|
59 | 59 | <div class="ps-2 text-base-bold leading-6 text-secondary">
|
60 |
| - Change Language |
| 60 | + {{ t('common.changeLanguage') }} |
61 | 61 | </div>
|
62 | 62 | <ul>
|
63 | 63 | <li
|
64 | 64 | v-for="locale in getSupportedLocalesList()"
|
65 | 65 | :key="locale.key"
|
66 | 66 | :class="actionLinkStyle"
|
67 | 67 | >
|
68 |
| - <a :href="locale.href" class="block w-full no-underline"> |
| 68 | + <a |
| 69 | + :href="locale.href" |
| 70 | + class="block w-full px-2 py-1 no-underline" |
| 71 | + > |
69 | 72 | <Icon
|
70 | 73 | v-if="locale.key === currentLocale"
|
71 | 74 | icon="Complete"
|
|
97 | 100 | <div class="-ml-2 -mr-2 text-wrap px-2 pt-2">
|
98 | 101 | <ul>
|
99 | 102 | <li :class="actionLinkStyle">
|
100 |
| - <a :href="editProfileLink" class="w-full"> |
| 103 | + <a :href="editProfileLink" class="block px-2 py-1"> |
101 | 104 | {{ t('user.profile.editProfile') }}
|
102 | 105 | </a>
|
103 | 106 | </li>
|
104 | 107 | <li :class="actionLinkStyle">
|
105 |
| - <a :href="signOutLink" class="w-full"> |
| 108 | + <a :href="signOutLink" class="block px-2 py-1"> |
106 | 109 | {{
|
107 | 110 | _isUserLoggedInAs
|
108 | 111 | ? t('user.logOutAs', {username: currentUser.username})
|
@@ -186,7 +189,7 @@ const getAnimationStyle = (buttonType) => {
|
186 | 189 | const actionLinkStyle = [
|
187 | 190 | 'max-w-full cursor-pointer overflow-hidden truncate whitespace-nowrap',
|
188 | 191 | 'rounded border border-transparent bg-transparent hover:!border-primary',
|
189 |
| - 'px-2 py-1 leading-6 text-primary', |
| 192 | + 'leading-6 text-primary', |
190 | 193 | ];
|
191 | 194 |
|
192 | 195 | function getSupportedLocalesList() {
|
|
0 commit comments