mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-11-03 22:55:43 +00:00 
			
		
		
		
	misc fixes
This commit is contained in:
		@@ -157,7 +157,7 @@ export function PartCategoryTree({
 | 
			
		||||
          RenderIcon={renderIcon}
 | 
			
		||||
          defaultSelectedNodes={selectedCategory ? [selectedCategory] : []}
 | 
			
		||||
          showEmptyItems={false}
 | 
			
		||||
          theme={theme.colorScheme}
 | 
			
		||||
          theme={prefferedColorScheme}
 | 
			
		||||
          themes={themes}
 | 
			
		||||
        />
 | 
			
		||||
      </Stack>
 | 
			
		||||
 
 | 
			
		||||
@@ -130,14 +130,7 @@ export const tabs = style({
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
export const tabsList = style({
 | 
			
		||||
  borderBottom: '0 !important',
 | 
			
		||||
  '& > button:first-of-type': {
 | 
			
		||||
    paddingLeft: '0 !important'
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  '& > button:last-of-type': {
 | 
			
		||||
    paddingRight: '0 !important'
 | 
			
		||||
  }
 | 
			
		||||
  borderBottom: '0 !important'
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
export const tab = style({
 | 
			
		||||
 
 | 
			
		||||
@@ -3,7 +3,6 @@ import {
 | 
			
		||||
  ActionIcon,
 | 
			
		||||
  Button,
 | 
			
		||||
  Checkbox,
 | 
			
		||||
  Col,
 | 
			
		||||
  Grid,
 | 
			
		||||
  Group,
 | 
			
		||||
  ScrollArea,
 | 
			
		||||
@@ -285,7 +284,7 @@ export default function Scan() {
 | 
			
		||||
      </Group>
 | 
			
		||||
      <Space h={'md'} />
 | 
			
		||||
      <Grid maw={'100%'}>
 | 
			
		||||
        <Col span={4}>
 | 
			
		||||
        <Grid.Col span={4}>
 | 
			
		||||
          <Stack>
 | 
			
		||||
            <Stack gap="xs">
 | 
			
		||||
              <Group justify="apart">
 | 
			
		||||
@@ -353,8 +352,8 @@ export default function Scan() {
 | 
			
		||||
              )}
 | 
			
		||||
            </Stack>
 | 
			
		||||
          </Stack>
 | 
			
		||||
        </Col>
 | 
			
		||||
        <Col span={8}>
 | 
			
		||||
        </Grid.Col>
 | 
			
		||||
        <Grid.Col span={8}>
 | 
			
		||||
          <Group justify="apart">
 | 
			
		||||
            <TitleWithDoc
 | 
			
		||||
              order={3}
 | 
			
		||||
@@ -372,7 +371,7 @@ export default function Scan() {
 | 
			
		||||
            selection={selection}
 | 
			
		||||
            setSelection={setSelection}
 | 
			
		||||
          />
 | 
			
		||||
        </Col>
 | 
			
		||||
        </Grid.Col>
 | 
			
		||||
      </Grid>
 | 
			
		||||
    </>
 | 
			
		||||
  );
 | 
			
		||||
 
 | 
			
		||||
@@ -512,7 +512,7 @@ export function InvenTreeTable<T = any>({
 | 
			
		||||
 | 
			
		||||
  // Callback when a row is clicked
 | 
			
		||||
  const handleRowClick = useCallback(
 | 
			
		||||
    (record: any, index: number, event: any) => {
 | 
			
		||||
    ({ event, record, index }: { event: any; record: any; index: number }) => {
 | 
			
		||||
      if (props.onRowClick) {
 | 
			
		||||
        // If a custom row click handler is provided, use that
 | 
			
		||||
        props.onRowClick(record, index, event);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user