Skip to content

Commit

Permalink
Add styles
Browse files Browse the repository at this point in the history
  • Loading branch information
dasuni-30 committed Mar 15, 2024
1 parent a8a4812 commit 598b9e9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/react-components/src/components/card/info-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
* under the License.
*/

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 @@ -214,7 +215,7 @@ export const InfoCard: FunctionComponent<PropsWithChildren<InfoCardPropsInterfac
)
}
{
<>
<Box className="justify-label">
<Item>
{ image && (
<GenericIcon
Expand All @@ -239,7 +240,7 @@ export const InfoCard: FunctionComponent<PropsWithChildren<InfoCardPropsInterfac
{ featureStatus }
</Item>
) }
</>
</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 @@ -1716,3 +1716,8 @@
.ui.cards.authenticators-grid > .ui.card {
width: calc(100% / 3);
}

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

0 comments on commit 598b9e9

Please sign in to comment.