language fixes
This commit is contained in:
parent
2fd4bd3a68
commit
19a2a90f01
2 changed files with 10 additions and 1 deletions
|
|
@ -160,7 +160,11 @@ export function useNavigation(): UseNavigationReturn {
|
||||||
fetchNavigation();
|
fetchNavigation();
|
||||||
};
|
};
|
||||||
window.addEventListener('features-changed', onFeaturesChanged);
|
window.addEventListener('features-changed', onFeaturesChanged);
|
||||||
return () => window.removeEventListener('features-changed', onFeaturesChanged);
|
window.addEventListener('userInfoUpdated', onFeaturesChanged);
|
||||||
|
return () => {
|
||||||
|
window.removeEventListener('features-changed', onFeaturesChanged);
|
||||||
|
window.removeEventListener('userInfoUpdated', onFeaturesChanged);
|
||||||
|
};
|
||||||
}, [fetchNavigation]);
|
}, [fetchNavigation]);
|
||||||
|
|
||||||
// Derive static and dynamic blocks
|
// Derive static and dynamic blocks
|
||||||
|
|
|
||||||
|
|
@ -306,6 +306,11 @@
|
||||||
object-fit: contain;
|
object-fit: contain;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
display: block;
|
display: block;
|
||||||
|
transition: filter 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
:global(.dark-theme) .portaTitleLogo {
|
||||||
|
filter: brightness(0) invert(1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ── Infrastruktur items ── */
|
/* ── Infrastruktur items ── */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue