From 96334432faacfd74dc35f7f8cb8d0553a87605cc Mon Sep 17 00:00:00 2001 From: thororen <78185467+thororen1234@users.noreply.github.com> Date: Wed, 30 Sep 2026 22:58:26 -0400 Subject: [PATCH] ChannelTabs: Remove dead css --- .../channelTabs/components/ChannelTabsContainer.tsx | 2 -- src/equicordplugins/channelTabs/style.css | 6 +----- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/equicordplugins/channelTabs/components/ChannelTabsContainer.tsx b/src/equicordplugins/channelTabs/components/ChannelTabsContainer.tsx index 96633e35b..6890f6479 100644 --- a/src/equicordplugins/channelTabs/components/ChannelTabsContainer.tsx +++ b/src/equicordplugins/channelTabs/components/ChannelTabsContainer.tsx @@ -8,7 +8,6 @@ import { Flex } from "@components/Flex"; import { Heading } from "@components/Heading"; import { Paragraph } from "@components/Paragraph"; import { BasicChannelTabsProps, ChannelTabsProps, clearStaleNavigationContext, closeTab, createTab, handleChannelSwitch, isNavigationFromSource, isTabSelected, moveToTab, openedTabs, openStartupTabs, saveTabs, settings, setUpdaterFunction, useGhostTabs } from "@equicordplugins/channelTabs/util"; -import { IS_MAC } from "@utils/constants"; import { classNameFactory } from "@utils/css"; import { classes } from "@utils/misc"; import { useForceUpdater } from "@utils/react"; @@ -289,7 +288,6 @@ export default function ChannelsTabsContainer(props: BasicChannelTabsProps) { className={classes( cl("container"), tabBarPosition === "top" && cl("container-top"), - IS_MAC && !IS_WEB && tabBarPosition === "top" && cl("container-top-macos"), !animationHover && cl("no-hover-animation"), !animationSelection && cl("no-selection-animation"), !animationDragDrop && cl("no-drag-animation"), diff --git a/src/equicordplugins/channelTabs/style.css b/src/equicordplugins/channelTabs/style.css index 5b90c177d..fbf2385b7 100644 --- a/src/equicordplugins/channelTabs/style.css +++ b/src/equicordplugins/channelTabs/style.css @@ -76,10 +76,6 @@ z-index: 102; } -.vc-channeltabs-container-top-macos { - padding-left: 80px; -} - /* as its in the same region as notices, it needs to hide itself when a notice is shown there's no permanent notices, right? */ [class*="notice"] + .vc-channeltabs-container-top { @@ -1349,4 +1345,4 @@ /* disable transitions when compact expand animation is disabled */ .vc-channeltabs-no-compact-animation .vc-channeltabs-tab-number-badge { transition: none !important; -} +} \ No newline at end of file