ChannelTabs: Remove dead css

This commit is contained in:
thororen 2026-09-30 22:58:26 -04:00
parent ab9b98472a
commit 96334432fa
No known key found for this signature in database
2 changed files with 1 additions and 7 deletions

View file

@ -8,7 +8,6 @@ import { Flex } from "@components/Flex";
import { Heading } from "@components/Heading"; import { Heading } from "@components/Heading";
import { Paragraph } from "@components/Paragraph"; 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 { 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 { classNameFactory } from "@utils/css";
import { classes } from "@utils/misc"; import { classes } from "@utils/misc";
import { useForceUpdater } from "@utils/react"; import { useForceUpdater } from "@utils/react";
@ -289,7 +288,6 @@ export default function ChannelsTabsContainer(props: BasicChannelTabsProps) {
className={classes( className={classes(
cl("container"), cl("container"),
tabBarPosition === "top" && cl("container-top"), tabBarPosition === "top" && cl("container-top"),
IS_MAC && !IS_WEB && tabBarPosition === "top" && cl("container-top-macos"),
!animationHover && cl("no-hover-animation"), !animationHover && cl("no-hover-animation"),
!animationSelection && cl("no-selection-animation"), !animationSelection && cl("no-selection-animation"),
!animationDragDrop && cl("no-drag-animation"), !animationDragDrop && cl("no-drag-animation"),

View file

@ -76,10 +76,6 @@
z-index: 102; 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 /* as its in the same region as notices, it needs to hide itself when a notice is shown
there's no permanent notices, right? */ there's no permanent notices, right? */
[class*="notice"] + .vc-channeltabs-container-top { [class*="notice"] + .vc-channeltabs-container-top {
@ -1349,4 +1345,4 @@
/* disable transitions when compact expand animation is disabled */ /* disable transitions when compact expand animation is disabled */
.vc-channeltabs-no-compact-animation .vc-channeltabs-tab-number-badge { .vc-channeltabs-no-compact-animation .vc-channeltabs-tab-number-badge {
transition: none !important; transition: none !important;
} }