Hides logo text on mobile, removed nonexistent css class

This commit is contained in:
incognitotgt 2024-01-01 11:24:17 -05:00
parent 69a478006a
commit 326e196bc3
2 changed files with 6 additions and 6 deletions

View file

@ -28,7 +28,7 @@ export function Header() {
className="h-full w-full transition-all duration-1000 hover:rotate-[360deg]" className="h-full w-full transition-all duration-1000 hover:rotate-[360deg]"
/> />
</div> </div>
<h1 className="font-roboto text-2xl font-bold text-navbar-text-color md:text-4xl"> <h1 className="font-roboto text-2xl font-bold text-navbar-text-color">
{t("header.title")} {t("header.title")}
</h1> </h1>
</div> </div>

View file

@ -39,7 +39,7 @@ export function IframeHeader(props: { url: string }) {
className="h-16 w-16 transition-all duration-1000 hover:rotate-[360deg]" className="h-16 w-16 transition-all duration-1000 hover:rotate-[360deg]"
alt="Nebula Logo" alt="Nebula Logo"
></img> ></img>
<h1 className="font-roboto text-2xl font-bold text-navbar-text-color md:text-4xl"> <h1 className="font-roboto invisible whitespace-nowrap font-bold text-navbar-text-color sm:visible sm:text-2xl">
{" "} {" "}
{t("header.title")}{" "} {t("header.title")}{" "}
</h1> </h1>
@ -98,10 +98,10 @@ export function IframeHeader(props: { url: string }) {
script.onload = function () { script.onload = function () {
if (!proxyWindow) return; if (!proxyWindow) return;
proxyWindow.eruda.init({ proxyWindow.eruda.init({
defaults: { defaults: {
displaySize: 45, displaySize: 45,
theme: 'Material Palenight' theme: "Material Palenight"
} }
}); });
proxyWindow.eruda.show(); proxyWindow.eruda.show();
}; };