Skip to content

Commit

Permalink
Merge pull request #401 from bcgov/hotfix/ui-sprint-45
Browse files Browse the repository at this point in the history
Hotfix/UI sprint 45
  • Loading branch information
ikethecoder authored May 31, 2022
2 parents 8ca337d + 0feb41c commit 5700360
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
22 changes: 9 additions & 13 deletions src/nextapp/pages/manager/authorization-profiles/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,19 +145,15 @@ const AuthorizationProfiles: React.FC<
data={data.allCredentialIssuersByNamespace}
data-testid="ap-all-profiles-table"
emptyView={
<Tr>
<Td align="center" colspan={5}>
<EmptyPane
action={authorizationProfileForm}
title="Create your first Authorization Profile"
message={
user?.namespace
? 'Manage authentication, authorization and clients access to your API'
: 'Select a namespace first to view its profiles'
}
/>
</Td>
</Tr>
<EmptyPane
action={authorizationProfileForm}
title="Create your first Authorization Profile"
message={
user?.namespace
? 'Manage authentication, authorization and clients access to your API'
: 'Select a namespace first to view its profiles'
}
/>
}
>
{(c: CredentialIssuer) => (
Expand Down
7 changes: 6 additions & 1 deletion src/nextapp/pages/profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ const ProfilePage: React.FC = () => {
</Box>
<Flex as="article" bgColor="white" p={12} align="center">
<Avatar name={user.name} size="xl" mr={12} />
<Grid flex={1} templateColumns="224px 1fr" gridRowGap={8}>
<Grid
flex={1}
templateColumns="max(280px, 25%) 1fr"
gridRowGap={8}
gap={8}
>
{fields.map((f) => (
<GridItem key={uid(f)}>
<Text color="bc-component" opacity={0.6}>
Expand Down

0 comments on commit 5700360

Please sign in to comment.