Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TM-1425] change icon edit in table monitored and chagen text style b… #748

Merged
merged 1 commit into from
Dec 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,7 @@ const TABLE_COLUMNS_HECTARES_STRATEGY: ColumnDef<RowData>[] = [
enableSorting: false,
cell: props => (
<div className="flex w-full cursor-pointer items-center justify-end rounded p-1 hover:text-primary">
<Icon
name={IconNames.IC_ARROW_COLLAPSE}
className="h-4 w-4 rotate-90 rounded-sm text-grey-720 hover:text-primary"
/>
<Icon name={IconNames.EDIT_PA} className="h-4 w-4 text-grey-720 hover:text-primary" />
</div>
),
meta: { style: { width: "5%" } }
Expand Down Expand Up @@ -217,10 +214,7 @@ const TABLE_COLUMNS_HECTARES_ECO_REGION: ColumnDef<RowData>[] = [
enableSorting: false,
cell: props => (
<div className="flex w-full cursor-pointer items-center justify-end rounded p-1 hover:text-primary">
<Icon
name={IconNames.IC_ARROW_COLLAPSE}
className="h-4 w-4 rotate-90 rounded-sm text-grey-720 hover:text-primary"
/>
<Icon name={IconNames.EDIT_PA} className="h-4 w-4 text-grey-720 hover:text-primary" />
</div>
),
meta: { style: { width: "5%" } }
Expand Down Expand Up @@ -262,10 +256,7 @@ const TABLE_COLUMNS_HECTARES_LAND_USE: ColumnDef<RowData>[] = [
enableSorting: false,
cell: props => (
<div className="flex w-full cursor-pointer items-center justify-end rounded p-1 hover:text-primary">
<Icon
name={IconNames.IC_ARROW_COLLAPSE}
className="h-4 w-4 rotate-90 rounded-sm text-grey-720 hover:text-primary"
/>
<Icon name={IconNames.EDIT_PA} className="h-4 w-4 text-grey-720 hover:text-primary" />
</div>
),
meta: { style: { width: "5%" } }
Expand Down Expand Up @@ -559,10 +550,7 @@ const DataCard = ({
enableSorting: false,
cell: props => (
<div className="flex w-full cursor-pointer items-center justify-end rounded p-1 hover:text-primary">
<Icon
name={IconNames.IC_ARROW_COLLAPSE}
className="h-4 w-4 rotate-90 rounded-sm text-grey-720 hover:text-primary"
/>
<Icon name={IconNames.EDIT_PA} className="h-4 w-4 text-grey-720 hover:text-primary" />
</div>
),
meta: { style: { top: `${topHeaderFirstTable}`, borderRadius: "0" } }
Expand Down Expand Up @@ -676,10 +664,10 @@ const DataCard = ({
Indicator Description
</Text>
<div className="flex min-h-0 flex-col gap-3 overflow-auto pr-1">
<Text variant={"text-14-light"} className="text-darkCustom-150" containHtml>
<Text variant={"text-14"} className="text-darkCustom" containHtml>
{indicatorDescription1}
</Text>
<Text variant={"text-14-light"} className="text-darkCustom-150" containHtml>
<Text variant={"text-14"} className="text-darkCustom" containHtml>
{indicatorDescription2}
</Text>
</div>
Expand Down
Loading