From 386875aa6d5e7fc43847955774407aa1f95aef4b Mon Sep 17 00:00:00 2001 From: Nate Kelley Date: Mon, 3 Mar 2025 13:33:47 -0700 Subject: [PATCH] hmmm updates --- web/src/components/ui/layouts/AppPageLayoutHeader.tsx | 2 +- web/src/components/ui/sidebar/SidebarItem.tsx | 2 +- web/src/context/BusterStyles/StyleRegistry.tsx | 6 +++++- web/src/styles/styles.scss | 2 ++ 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/web/src/components/ui/layouts/AppPageLayoutHeader.tsx b/web/src/components/ui/layouts/AppPageLayoutHeader.tsx index 8cae2aa52..104bd1ac6 100644 --- a/web/src/components/ui/layouts/AppPageLayoutHeader.tsx +++ b/web/src/components/ui/layouts/AppPageLayoutHeader.tsx @@ -6,7 +6,7 @@ const headerVariants = cva('bg-background flex max-h-[38px] min-h-[38px] items-c variants: { variant: { default: 'px-4.5', - list: 'px-10' + list: 'px-7.5' } } }); diff --git a/web/src/components/ui/sidebar/SidebarItem.tsx b/web/src/components/ui/sidebar/SidebarItem.tsx index a09f125ed..77668b34c 100644 --- a/web/src/components/ui/sidebar/SidebarItem.tsx +++ b/web/src/components/ui/sidebar/SidebarItem.tsx @@ -2,7 +2,7 @@ import React from 'react'; import Link from 'next/link'; import { cn } from '@/lib/classMerge'; import { type ISidebarItem } from './interfaces'; -import { cva, VariantProps } from 'class-variance-authority'; +import { cva, type VariantProps } from 'class-variance-authority'; const itemVariants = cva( 'flex items-center gap-2 rounded px-1.5 py-1.5 text-base transition-colors cursor-pointer min-h-7', diff --git a/web/src/context/BusterStyles/StyleRegistry.tsx b/web/src/context/BusterStyles/StyleRegistry.tsx index b54dfba65..62e04727e 100644 --- a/web/src/context/BusterStyles/StyleRegistry.tsx +++ b/web/src/context/BusterStyles/StyleRegistry.tsx @@ -19,7 +19,11 @@ const StyleRegistry = ({ children }: PropsWithChildren) => { return <>{styles}; }); - return {children}; + return ( + + {children} + + ); }; export default StyleRegistry; diff --git a/web/src/styles/styles.scss b/web/src/styles/styles.scss index 5bf4dd4eb..659f82a37 100644 --- a/web/src/styles/styles.scss +++ b/web/src/styles/styles.scss @@ -6,6 +6,8 @@ @import 'react-data-grid/lib/styles.css'; @import '../components/ui/layouts/AppSplitter/SplitPane/themes/default'; //TODO check if we can remove this +@import 'antd/dist/reset.css'; + input { font-family: var(--font-app),