Skip to content

Commit

Permalink
Usermanagement css and boundaryScreen css (#1791)
Browse files Browse the repository at this point in the history
Changes to userManagement, css for boundary
  • Loading branch information
abishekTa-egov authored Nov 11, 2024
1 parent c18e61a commit ecc1e36
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ const CampaignBoundary = ({ customProps, setupCompleted }) => {
let bH = [];
let top = null;
let dic = {};

for (const ob of boundaryHierarchy) {
let bType = ob["boundaryType"];
let parent = ob["parentBoundaryType"];
Expand Down Expand Up @@ -303,7 +302,7 @@ const CampaignBoundary = ({ customProps, setupCompleted }) => {
<BoundaryKpi data={statusMap} heading={t("CAMPAIGN_BOUNDARY")} />
{bHierarchy.length > 1 ? (
<div className="mp-margin-bottom">
<SubBoundaryView style={{ background: "#fff", gap: "1.5rem" }} title={bHierarchy?.[1]} arr={parent_group?.[bHierarchy?.[1]]} editHandler={editHandler} isEditable={isEditable} />
<SubBoundaryView style={{ background: "#fff", gap: "1.5rem" }} title={bHierarchy?.[1]} arr={parent_group?.[bHierarchy?.[1]]} editHandler={editHandler} isEditable={isEditable} headerStyle={{fontSize:"1.6rem"}} />
</div>
) : null}

Expand All @@ -314,7 +313,7 @@ const CampaignBoundary = ({ customProps, setupCompleted }) => {
<Card className="middle-child">
<div className="mp-header-container" style={{ marginBottom: "0px" }}>
<Header className="summary-sub-heading">
{bHierarchy[ind + 2]}
{t(`MP_${bHierarchy[ind + 2].toUpperCase()}`)}
</Header>
{!(setupCompleted === 'true') &&
<Button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Card, Button, PopUp, Chip, Loader } from '@egovernments/digit-ui-compon
import { ShowMoreWrapper } from './ShowMoreWrapper';
import { useTranslation } from 'react-i18next';

const SubBoundaryView = ({ title, arr, style, editHandler, isEditable }) => {
const SubBoundaryView = ({ title, arr, style, editHandler, isEditable, headerStyle={fontSize:"1rem"} }) => {

const [showPopUp, setShowPopUp] = useState(false);
const { t } = useTranslation();
Expand All @@ -20,7 +20,7 @@ const SubBoundaryView = ({ title, arr, style, editHandler, isEditable }) => {
<Card type={"secondary"} style={style}>

<div className="mp-header-container" style={{ marginBottom: "0px" }}>
<Header className="summary-sub-heading subBoundary">
<Header className="summary-sub-heading subBoundary" styles={headerStyle}>
{t(title)}
</Header>
{isEditable && editHandler && <Button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const UserManagement = () => {

return (
<React.Fragment>
<Header styles={{ fontSize: "32px" }}>{t(config?.label)}{<span className="inbox-count">{location?.state?.count ? location?.state?.count : 0}</span>}</Header>
<Header styles={{ fontSize: "32px" }}>{t(config?.label)}</Header>
<div className="inbox-search-wrapper">
<InboxSearchComposer
configs={{ ...config, additionalDetails: { microplanData } }}
Expand Down

0 comments on commit ecc1e36

Please sign in to comment.