From 952638a4c6e50d2e5aff205638ce73d0ac0e1ebc Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Tue, 3 Sep 2024 16:06:50 -0500 Subject: [PATCH] minor fixes --- .dist/user.js | 2 +- webpage/style.css | 4 ++-- webpage/user.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.dist/user.js b/.dist/user.js index 7d04c48..9e84b1b 100644 --- a/.dist/user.js +++ b/.dist/user.js @@ -293,7 +293,7 @@ class User extends SnowFlake { if (this.hypotheticalpfp && this.avatar) { return this.avatar; } - if (this.avatar != null) { + if (this.avatar !== null) { return this.info.cdn + "/avatars/" + this.id.replace("#clone", "") + "/" + this.avatar + ".png"; } else { diff --git a/webpage/style.css b/webpage/style.css index 96a416f..4f87082 100644 --- a/webpage/style.css +++ b/webpage/style.css @@ -922,7 +922,7 @@ input[type="checkbox"] { } .quote { - display: inline-block; + display: flex; width: fit-content; position: relative; } @@ -937,7 +937,7 @@ input[type="checkbox"] { .quote > span { margin-left: 0.5em; - display: flex; + display: block; align-items: center; } span { diff --git a/webpage/user.ts b/webpage/user.ts index 8bb1230..cd7e46d 100644 --- a/webpage/user.ts +++ b/webpage/user.ts @@ -295,7 +295,7 @@ class User extends SnowFlake{ if(this.hypotheticalpfp&&this.avatar){ return this.avatar; } - if(this.avatar!=null){ + if(this.avatar!==null){ return this.info.cdn+"/avatars/"+this.id.replace("#clone","")+"/"+this.avatar+".png"; }else{ const int=new Number((BigInt(this.id.replace("#clone","")) >> 22n) % 6n);