Skip to content

Commit

Permalink
Formula View, and Select Acitivity Screen CSS changes (#1803)
Browse files Browse the repository at this point in the history
* select-activity-commit

* Hover over formulaConfigView

* margin adjust

* removed console

* css changes

* package update

* changes to css

* package css update
  • Loading branch information
abishekTa-egov authored Nov 12, 2024
1 parent a81fc9a commit cd57493
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 8 deletions.
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" }}>
<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={{
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%",
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

0 comments on commit cd57493

Please sign in to comment.