Skip to content

Commit

Permalink
remove captionCX usage
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekseyManetov committed May 9, 2024
1 parent 93bbb58 commit 2852d56
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 12 deletions.
4 changes: 0 additions & 4 deletions app/src/demo/tables/filteredTable/FilteredTable.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,6 @@
min-width: 0;
flex-grow: 1;
font-family: var(--uui-font);

.manager-cell {
font-family: var(--uui-font);
}
}

.icon-container {
Expand Down
3 changes: 1 addition & 2 deletions app/src/demo/tables/filteredTable/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import * as React from 'react';
import { Text, Badge, FlexRow, LinkButton, BadgeProps } from '@epam/uui';
import { DataColumnProps, getSeparatedValue } from '@epam/uui-core';
import { Person } from '@epam/uui-docs';
import css from './FilteredTable.module.scss';

export const personColumns: DataColumnProps<Person, number>[] = [
{
Expand Down Expand Up @@ -72,7 +71,7 @@ export const personColumns: DataColumnProps<Person, number>[] = [
{
key: 'managerName',
caption: 'Manager',
render: (p) => <LinkButton caption={ p.managerName } captionCX={ css.managerCell } href="#" />,
render: (p) => <LinkButton caption={ p.managerName } href="#" />,
grow: 0,
width: 150,
isSortable: true,
Expand Down
4 changes: 0 additions & 4 deletions app/src/demo/tables/masterDetailedTable/DemoTable.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ body {
}
}
}

.manager-cell {
font-family: $font-sans;
}
}

.icon-container {
Expand Down
2 changes: 1 addition & 1 deletion app/src/demo/tables/masterDetailedTable/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const personColumns: DataColumnProps<Person, PersonTableRecordId[], DataQ
}, {
key: 'managerName',
caption: 'Manager',
render: (p) => <LinkButton caption={ p.managerName } captionCX={ css.managerCell } href="#" />,
render: (p) => <LinkButton caption={ p.managerName } href="#" />,
width: 150,
isSortable: true,
isFilterActive: (f) => !!f.managerId,
Expand Down
2 changes: 1 addition & 1 deletion app/src/sandbox/tablePaged/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const personColumns = [
}, {
key: 'managerName',
caption: 'Manager',
render: (p) => <LinkButton caption={ p.managerName } captionCX={ css.managerCell } href="#" />,
render: (p) => <LinkButton caption={ p.managerName } href="#" />,
grow: 0,
shrink: 0,
width: 150,
Expand Down

0 comments on commit 2852d56

Please sign in to comment.