From 1e98d5a4406f225a3dc2860c0fadd6e2f97f2c53 Mon Sep 17 00:00:00 2001 From: thororen <78185467+thororen1234@users.noreply.github.com> Date: Sat, 26 Sep 2026 21:38:48 -0400 Subject: [PATCH] ChannelTabs: Fix shoving text box --- src/equicordplugins/channelTabs/index.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/equicordplugins/channelTabs/index.tsx b/src/equicordplugins/channelTabs/index.tsx index b0e46c457..511e2380f 100644 --- a/src/equicordplugins/channelTabs/index.tsx +++ b/src/equicordplugins/channelTabs/index.tsx @@ -65,9 +65,15 @@ export default definePlugin({ { find: '"AppView"', replacement: [ + { + match: /((\i\?\.params)\.guildId===.{0,300}?)"div",{(?=className:\i\.\i,children:\[)/, + replace: "$1$self.render,{currentChannel:$2,", + predicate: () => settings.store.tabBarPosition === "top" + }, { match: /"div",{(?=.{0,80}(\i\?\.params))/, replace: "$self.render,{currentChannel:$1,", + predicate: () => settings.store.tabBarPosition === "bottom" } ] },