Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formula View, and Select Acitivity Screen CSS changes #1803

Merged
merged 11 commits into from
Nov 12, 2024
Merged
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<title>DIGIT</title>
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected]/dist/index.css" />
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected]/dist/index.css" />
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected].31/dist/index.css" />
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected].32/dist/index.css" />

<!-- added below css for hcm-workbench module inclusion-->
<!-- <link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected]/dist/index.css" /> -->
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@egovernments/digit-ui-health-css",
"version": "0.1.31",
"version": "0.1.32",
"license": "MIT",
"main": "dist/index.css",
"author": "Jagankumar <[email protected]>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -335,4 +335,12 @@
p{
margin: 0rem;
}
}

.activity-grid {
display: grid;
grid-template-columns: 33.3% 33.3% 33.3%;
text-align: -webkit-center;
gap: 24px;
margin-right: 3rem;
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ const ActivityHomeCard = ({onClickCard=()=>{},...props}) => {

return (
<React.Fragment>
<Card className="fsm" style={{ backgroundColor: "transparent", boxShadow: "none", paddingTop: "0" }}>
<Card className="fsm" style={{ backgroundColor: "transparent", boxShadow: "none", paddingTop: "0",marginRight:"1rem",marginLeft:"1rem" }}>
abishekTa-egov marked this conversation as resolved.
Show resolved Hide resolved
abishekTa-egov marked this conversation as resolved.
Show resolved Hide resolved
<CardHeader> {t(props.title)} </CardHeader>
<div style={{ display: "grid", gridTemplateColumns: "33.3% 33.3% 33.3%", textAlign: "-webkit-center", gap: "24px" }}>
<div className="activity-grid"
>
{props.module.map((i) => {
return (
<CardNew
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,32 @@ const FormulaView = ({ output = "N/A", input1 = "N/A", input2 = "N/A", input3 =
type="text"
value={t(input1)}
nonEditable={true}
style={{ width: "100%" }}
style={{
abishekTa-egov marked this conversation as resolved.
Show resolved Hide resolved
width: "100%",
cursor: "pointer",
}}
className="mp-tooltip"
title={t(input1)}
/>
<TextInput
type="text"
value={t(input2)}
nonEditable={true}
style={{ width: "100%" }}
style={{
width: "100%",
cursor: "pointer",
}}
/>
<TextInput
type="text"
value={t(input3)}
nonEditable={true}
style={{ width: "100%" }}
style={{
width: "100%",
abishekTa-egov marked this conversation as resolved.
Show resolved Hide resolved
cursor: "pointer",

}}
title={t(input3)}
/>
</LabelFieldPair>

Expand Down
2 changes: 1 addition & 1 deletion health/micro-ui/web/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected]/dist/index.css" />
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected]/dist/index.css" />
<!-- added below css for hcm-workbench module inclusion-->
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected].31/dist/index.css" />
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected].32/dist/index.css" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#00bcd1" />
<title>DIGIT HCM</title>
Expand Down