fix minor bugs

This commit is contained in:
Vendicated 2025-09-03 04:37:38 +02:00
parent 65c85a5222
commit 9700ec9cd2
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
3 changed files with 5 additions and 6 deletions

View file

@ -1,5 +1,5 @@
/* the profile popout badge container(s) */
[class*="biteSize_"] [class*="tags_"] [class*="container_"] {
/* Discord has padding set to 2px instead of 1px, which causes the 12th badge to wrap to a new line. */
padding: 0 1px;
}
[class*="profile_"] [class*="tags_"] [class*="container_"] {
/* Discord has gap set to 2px instead of 1px, which causes the 12th badge to wrap to a new line. */
gap: 1px;
}

View file

@ -57,7 +57,6 @@ async function loadBadges(noCache = false) {
let intervalId: any;
function BadgeContextMenu({ badge }: { badge: ProfileBadge & BadgeUserArgs; }) {
console.log(badge);
return (
<Menu.Menu
navId="vc-badge-context"

View file

@ -23,7 +23,7 @@ import { useTimer } from "@utils/react";
import definePlugin, { OptionType } from "@utils/types";
import { React } from "@webpack/common";
import alignedChatInputFix from "./alignedChatInputFix.css";
import alignedChatInputFix from "./alignedChatInputFix.css?managed";
function formatDuration(ms: number) {
// here be dragons (moment fucking sucks)