Skip to content

Commit

Permalink
Merge pull request #5758 from dasuni-30/fix/22229
Browse files Browse the repository at this point in the history
Fix the responsiveness issues in the info card of the application login flow
  • Loading branch information
dasuni-30 authored Mar 15, 2024
2 parents 82be30c + 12e1dfa commit c605d88
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .changeset/smooth-guests-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@wso2is/theme": patch
"@wso2is/console": patch
"@wso2is/myaccount": patch
"@wso2is/identity-apps-core": patch
---

Add changeset
11 changes: 11 additions & 0 deletions .changeset/spicy-elephants-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"@wso2is/react-components": patch
"@wso2is/console": patch
"@wso2is/myaccount": patch
"@wso2is/common": patch
"@wso2is/dynamic-forms": patch
"@wso2is/form": patch
"@wso2is/forms": patch
---

Fix the responsiveness issues in the info card
6 changes: 3 additions & 3 deletions modules/react-components/src/components/card/info-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* under the License.
*/

import Grid from "@oxygen-ui/react/Grid";
import Box from "@oxygen-ui/react/Box";
import { IdentifiableComponentInterface, TestableComponentInterface } from "@wso2is/core/models";
import classNames from "classnames";
import React, { FunctionComponent, MouseEvent, PropsWithChildren, ReactElement, ReactNode } from "react";
Expand Down Expand Up @@ -215,7 +215,7 @@ export const InfoCard: FunctionComponent<PropsWithChildren<InfoCardPropsInterfac
)
}
{
<Grid container justifyContent="space-between">
<Box className="justify-label">
<Item>
{ image && (
<GenericIcon
Expand All @@ -240,7 +240,7 @@ export const InfoCard: FunctionComponent<PropsWithChildren<InfoCardPropsInterfac
{ featureStatus }
</Item>
) }
</Grid>
</Box>
}

<div className="card-header-section">
Expand Down
5 changes: 5 additions & 0 deletions modules/theme/src/themes/default/views/card.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -852,6 +852,11 @@
padding: 1em;
}

.justify-label {
display: flex;
justify-content: space-between;
}

&.sms-provider-info-card {
.content {
display: flex;
Expand Down

0 comments on commit c605d88

Please sign in to comment.