update some small stuff

This commit is contained in:
creations 2025-04-05 09:32:47 -04:00
parent 30191a5b1f
commit 82f7b4f22d
Signed by: creations
GPG key ID: 8F553AA4320FC711
3 changed files with 9 additions and 3 deletions

View file

@ -419,6 +419,10 @@ ul {
margin: 1rem 0; margin: 1rem 0;
} }
.markdown-body img {
max-width: 100%;
}
@media (max-width: 600px) { @media (max-width: 600px) {
.readme { .readme {
width: 100%; width: 100%;

View file

@ -33,7 +33,7 @@ async function handler(request: ExtendedRequest): Promise<Response> {
await handleReadMe(presence); await handleReadMe(presence);
const ejsTemplateData: EjsTemplateData = { const ejsTemplateData: EjsTemplateData = {
title: "User Page", title: `${presence.discord_user.username || "Unknown"}`,
username: presence.discord_user.username, username: presence.discord_user.username,
status: presence.discord_status, status: presence.discord_status,
activities: presence.activities, activities: presence.activities,

View file

@ -32,8 +32,10 @@ async function handler(): Promise<Response> {
await handleReadMe(presence); await handleReadMe(presence);
const ejsTemplateData: EjsTemplateData = { const ejsTemplateData: EjsTemplateData = {
title: "User Page", title:
username: presence.discord_user.username, presence.discord_user.global_name || presence.discord_user.username,
username:
presence.discord_user.global_name || presence.discord_user.username,
status: presence.discord_status, status: presence.discord_status,
activities: presence.activities, activities: presence.activities,
user: presence.discord_user, user: presence.discord_user,