diff --git a/src/remote/components/wrapped-slider.tsx b/src/remote/components/wrapped-slider.tsx index 24df5a09..c2617286 100644 --- a/src/remote/components/wrapped-slider.tsx +++ b/src/remote/components/wrapped-slider.tsx @@ -10,7 +10,7 @@ const SliderContainer = styled.div` margin: 10px 0; `; -const SliderValueWrapper = styled.div<{ position: 'left' | 'right' }>` +const SliderValueWrapper = styled.div<{ $position: 'left' | 'right' }>` display: flex; flex: 1; align-self: flex-end; @@ -38,7 +38,7 @@ export const WrapperSlider = ({ leftLabel, rightLabel, value, ...props }: Wrappe return ( - {leftLabel && {leftLabel}} + {leftLabel && {leftLabel}} - {rightLabel && {rightLabel}} + {rightLabel && {rightLabel}} ); }; diff --git a/src/renderer/components/page-header/index.tsx b/src/renderer/components/page-header/index.tsx index 29356785..d297c0d0 100644 --- a/src/renderer/components/page-header/index.tsx +++ b/src/renderer/components/page-header/index.tsx @@ -7,13 +7,13 @@ import { useWindowSettings } from '/@/renderer/store/settings.store'; import { Platform } from '/@/renderer/types'; const Container = styled(motion(Flex))<{ - height?: string; - position?: string; + $height?: string; + $position?: string; }>` - position: ${(props) => props.position || 'relative'}; + position: ${(props) => props.$position || 'relative'}; z-index: 200; width: 100%; - height: ${(props) => props.height || '65px'}; + height: ${(props) => props.$height || '65px'}; background: var(--titlebar-bg); `; @@ -40,13 +40,13 @@ const Header = styled(motion.div)<{ } `; -const BackgroundImage = styled.div<{ background: string }>` +const BackgroundImage = styled.div<{ $background: string }>` position: absolute; top: 0; z-index: 1; width: 100%; height: 100%; - background: ${(props) => props.background || 'var(--titlebar-bg)'}; + background: ${(props) => props.$background || 'var(--titlebar-bg)'}; `; const BackgroundImageOverlay = styled.div<{ theme: 'light' | 'dark' }>` @@ -129,8 +129,8 @@ export const PageHeader = ({ {!isHidden && (
{backgroundColor && ( <> - + )} diff --git a/src/renderer/components/scroll-area/index.tsx b/src/renderer/components/scroll-area/index.tsx index 160bc245..663b545c 100644 --- a/src/renderer/components/scroll-area/index.tsx +++ b/src/renderer/components/scroll-area/index.tsx @@ -29,7 +29,10 @@ const StyledScrollArea = styled(MantineScrollArea)` } `; -const StyledNativeScrollArea = styled.div<{ scrollBarOffset?: string; windowBarStyle?: Platform }>` +const StyledNativeScrollArea = styled.div<{ + $scrollBarOffset?: string; + $windowBarStyle?: Platform; +}>` height: 100%; `; @@ -133,8 +136,8 @@ export const NativeScrollArea = forwardRef( /> {children} diff --git a/src/renderer/components/virtual-table/cells/actions-cell.tsx b/src/renderer/components/virtual-table/cells/actions-cell.tsx index 9660f743..225f16a8 100644 --- a/src/renderer/components/virtual-table/cells/actions-cell.tsx +++ b/src/renderer/components/virtual-table/cells/actions-cell.tsx @@ -5,7 +5,7 @@ import { CellContainer } from '/@/renderer/components/virtual-table/cells/generi export const ActionsCell = ({ context, api }: ICellRendererParams) => { return ( - +