Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions app/(core)/components/FullLandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import ScrollDown from "./ScrollDown";

export default function FullLandingPage() {
const [stats, setStats] = useState({
online: null,
visibleMembers: null,
channels: null,
voiceActive: null,
online: 0,
visibleMembers: 0,
channels: 0,
voiceActive: 0,
serverName: "",
});

Expand Down
1 change: 1 addition & 0 deletions app/(core)/styles/landing.css
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@
display: block;
font-weight: 700;
font-variant-numeric: tabular-nums;
min-width: 2ch;
}

@media (max-width: 640px) {
Expand Down
14 changes: 14 additions & 0 deletions app/(core)/styles/translator.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,20 @@
display: none;
}

/* Prevent Google Translate injected iframe from causing CLS */
.goog-te-banner-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip-content {
display: none !important;
}

body {
top: 0 !important;
position: static !important;
}

/* Globe icon */
.globe-icon {
position: absolute;
Expand Down
Loading