diff options
author | Chocobozzz <me@florianbigard.com> | 2022-07-12 14:48:44 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-07-12 14:48:44 +0200 |
commit | ba24a31c26ff566ea419399c3a49bf9d170bc66b (patch) | |
tree | c9f3a5760c9081e42e51abbe996745ce192ee0d7 /client | |
parent | 21d8979fbdbc26067f2ed19efa30060c44b3b102 (diff) | |
download | PeerTube-ba24a31c26ff566ea419399c3a49bf9d170bc66b.tar.gz PeerTube-ba24a31c26ff566ea419399c3a49bf9d170bc66b.tar.zst PeerTube-ba24a31c26ff566ea419399c3a49bf9d170bc66b.zip |
Fix interface lang button when unlogged
Diffstat (limited to 'client')
-rw-r--r-- | client/src/app/menu/menu.component.html | 4 | ||||
-rw-r--r-- | client/src/app/menu/menu.component.scss | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html index f9c721bd4..c1e5f79a6 100644 --- a/client/src/app/menu/menu.component.html +++ b/client/src/app/menu/menu.component.html | |||
@@ -134,9 +134,7 @@ | |||
134 | <div class="footer-bottom"> | 134 | <div class="footer-bottom"> |
135 | 135 | ||
136 | <div class="footer-links"> | 136 | <div class="footer-links"> |
137 | <div *ngIf="isLoggedIn === false"> | 137 | <span *ngIf="isLoggedIn === false" role="button" (click)="openLanguageChooser()" class="c-hand" i18n>Interface: {{ currentInterfaceLanguage }}</span> |
138 | <span role="button" (click)="openLanguageChooser()" class="c-hand" i18n>Interface: {{ currentInterfaceLanguage }}</span> | ||
139 | </div> | ||
140 | 138 | ||
141 | <div> | 139 | <div> |
142 | <a i18n routerLink="/about/instance">Contact</a> | 140 | <a i18n routerLink="/about/instance">Contact</a> |
diff --git a/client/src/app/menu/menu.component.scss b/client/src/app/menu/menu.component.scss index e3ec10a83..a824c69fe 100644 --- a/client/src/app/menu/menu.component.scss +++ b/client/src/app/menu/menu.component.scss | |||
@@ -304,7 +304,8 @@ my-actor-avatar { | |||
304 | flex-wrap: wrap; | 304 | flex-wrap: wrap; |
305 | } | 305 | } |
306 | 306 | ||
307 | a { | 307 | a, |
308 | span[role=button] { | ||
308 | @include margin-right(8px); | 309 | @include margin-right(8px); |
309 | @include disable-default-a-behaviour; | 310 | @include disable-default-a-behaviour; |
310 | 311 | ||