diff --git a/src/equicordplugins/channelTabs/components/ChannelTabsContainer.tsx b/src/equicordplugins/channelTabs/components/ChannelTabsContainer.tsx index 4fd26e76..20ad46e5 100644 --- a/src/equicordplugins/channelTabs/components/ChannelTabsContainer.tsx +++ b/src/equicordplugins/channelTabs/components/ChannelTabsContainer.tsx @@ -20,6 +20,8 @@ const PlusSmallIcon = findComponentByCodeLazy("0v-5h5a1"); const cl = classNameFactory("vc-channeltabs-"); +const isMac = navigator.platform.toLowerCase().startsWith("mac"); + export default function ChannelsTabsContainer(props: BasicChannelTabsProps) { const [userId, setUserId] = useState(""); const { showBookmarkBar, widerTabsAndBookmarks } = settings.use(["showBookmarkBar", "widerTabsAndBookmarks"]); @@ -66,6 +68,7 @@ export default function ChannelsTabsContainer(props: BasicChannelTabsProps) { className={cl("container")} ref={ref} onContextMenu={e => ContextMenuApi.openContextMenu(e, () => )} + style={{ marginTop: isMac ? "28px" : "0" }} >
{openedTabs.map((tab, i) => diff --git a/src/equicordplugins/questCompleter.discordDesktop/index.tsx b/src/equicordplugins/questCompleter.discordDesktop/index.tsx index bd85c6d0..19a13533 100644 --- a/src/equicordplugins/questCompleter.discordDesktop/index.tsx +++ b/src/equicordplugins/questCompleter.discordDesktop/index.tsx @@ -221,8 +221,8 @@ export default definePlugin({ { find: "AppTitleBar", replacement: { - match: /(?<=trailing:.{0,70}\(\i\.Fragment,{children:\[.*?)\]/, - replace: ",$self.renderQuestButton()]" + match: /(?<=trailing:.{0,70}\(\i\.Fragment,{children:\[)/, + replace: "$self.renderQuestButton()," } } ],