Merge branch 'dev' into modules-proxy-patches

This commit is contained in:
Nuckyz 2024-07-17 15:59:31 -03:00
commit 9dadde6884
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9
3 changed files with 3 additions and 2 deletions

View file

@ -21,6 +21,7 @@
"buildReporter": "pnpm buildWebStandalone --reporter --skip-extension",
"buildReporterDesktop": "pnpm build --reporter",
"watch": "pnpm build --watch",
"dev": "pnpm watch",
"watchWeb": "pnpm buildWeb --watch",
"generatePluginJson": "tsx scripts/generatePluginList.ts",
"generateTypes": "tspc --emitDeclarationOnly --declaration --outDir packages/vencord-types",

View file

@ -91,7 +91,7 @@ export default definePlugin({
/* new profiles */
{
find: ".PANEL]:14",
find: ".FULL_SIZE]:26",
replacement: {
match: /(?<=(\i)=\(0,\i\.\i\)\(\i\);)return 0===\i.length\?/,
replace: "$1.unshift(...$self.getBadges(arguments[0].displayProfile));$&"

View file

@ -1,6 +1,6 @@
.vc-mentionAvatars-avatar {
vertical-align: middle;
width: 1em;
width: 1em !important; /* insane discord sets width: 100% in channel topic */
height: 1em;
margin: 0 4px 0.2rem 2px;
border-radius: 50%;