Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix interface lang button when unlogged

Chocobozzzba24a31c26ff
diff --git a/client/src/app/menu/menu.component.html b/client/src/app/menu/menu.component.html
index f9c721bd40..c1e5f79a6f 100644
--- a/client/src/app/menu/menu.component.html
+++ b/client/src/app/menu/menu.component.html
@@ -134,9 +134,7 @@
<div class="footer-bottom">
<div class="footer-links">
- <div *ngIf="isLoggedIn === false">
- <span role="button" (click)="openLanguageChooser()" class="c-hand" i18n>Interface: {{ currentInterfaceLanguage }}</span>
- </div>
+ <span *ngIf="isLoggedIn === false" role="button" (click)="openLanguageChooser()" class="c-hand" i18n>Interface: {{ currentInterfaceLanguage }}</span>
<div>
<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 e3ec10a834..a824c69fe9 100644
--- a/client/src/app/menu/menu.component.scss
+++ b/client/src/app/menu/menu.component.scss
@@ -304,7 +304,8 @@ my-actor-avatar {
flex-wrap: wrap;
}
- a {
+ a,
+ span[role=button] {
@include margin-right(8px);
@include disable-default-a-behaviour;