Skip to content

Commit eed8dcc

Browse files
committed
chore: update styles
1 parent db67aab commit eed8dcc

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

site/src/pages/ManagementSettingsPage/IdpSyncPage/IdpSyncPageView.tsx

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -134,16 +134,9 @@ interface TableRowCountProps {
134134
const TableRowCount: FC<TableRowCountProps> = ({ count, type }) => {
135135
return (
136136
<div
137-
css={(theme) => ({
138-
margin: 0,
139-
fontSize: 13,
140-
color: theme.palette.text.secondary,
141-
"& strong": {
142-
color: theme.palette.text.primary,
143-
},
144-
})}
137+
className="text-content-secondary text-xs"
145138
>
146-
Showing <strong>{count}</strong> {type}
139+
Showing <strong className="text-content-primary">{count}</strong> {type}
147140
</div>
148141
);
149142
};
@@ -434,7 +427,7 @@ const IdpGroupSyncForm = ({
434427
</div>
435428

436429
<div className="flex gap-12">
437-
<div className="flex flex-col w-full">
430+
<div className="flex flex-col w-full gap-2">
438431
<IdpMappingTable type="Group" isEmpty={groupMappingCount === 0}>
439432
{groupSyncSettings?.mapping &&
440433
Object.entries(groupSyncSettings.mapping)
@@ -635,7 +628,7 @@ const IdpRoleSyncForm = ({
635628
</Button>
636629
</div>
637630
</div>
638-
<div>
631+
<div className="flex flex-col gap-2">
639632
<IdpMappingTable type="Role" isEmpty={roleMappingCount === 0}>
640633
{roleSyncSettings?.mapping &&
641634
Object.entries(roleSyncSettings.mapping)

0 commit comments

Comments
 (0)