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

css fix #1399

Merged
merged 3 commits into from
Sep 18, 2024
Merged

css fix #1399

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions micro-ui/web/micro-ui-internals/packages/css/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ frontend/micro-ui/web/public/index.html
```
## Changelog

1.8.2-beta.23: fixed css in pgr citizen complaint detail page

### Summary for Version [1.8.2-beta.1] - 2024-06-05

For a detailed changelog, see the [CHANGELOG.md](./CHANGELOG.md) file.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@egovernments/digit-ui-css",
"version": "1.8.2-beta.22",
"version": "1.8.2-beta.23",
"license": "MIT",
"main": "dist/index.css",
"author": "Jagankumar <[email protected]>",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,11 @@
text-align: center;
}

.sandbox-signup-form .digit-field .digit-error-message {
font-size: 0.8rem;
}


.sandbox-signup-form {
.digit-employee-card.signupCardClassName {
display: flex;
Expand Down Expand Up @@ -344,3 +349,25 @@
}
}
}
.pgr-citizen-wrapper{
.applications-list-container{
.card{
.date-wrap{
align-items: center;
justify-content: flex-start;
}
Comment on lines +352 to +358
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add display: flex; to .date-wrap for alignment properties to take effect

The align-items and justify-content properties only apply to flex containers. To ensure proper alignment of .date-wrap, add display: flex;.

Apply this diff to fix the issue:

 .pgr-citizen-wrapper{
   .applications-list-container{
     .card{
       .date-wrap{
+        display: flex;
         align-items: center;
         justify-content: flex-start;
       }
     }
   }
 }
Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
.pgr-citizen-wrapper{
.applications-list-container{
.card{
.date-wrap{
align-items: center;
justify-content: flex-start;
}
.pgr-citizen-wrapper{
.applications-list-container{
.card{
.date-wrap{
display: flex;
align-items: center;
justify-content: flex-start;
}

}
}
}

.pgr-citizen-wrapper{
.applications-list-container{
.card{
.status-highlight{
display: flex;
align-items: center;
justify-content: center;
}
}
}
}
2 changes: 1 addition & 1 deletion micro-ui/web/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link
href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;500;700&family=Roboto:wght@400;500;700&display=swap"
rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected].22/dist/index.css" />
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected].23/dist/index.css" />
<link rel="stylesheet" href="https://unpkg.com/@egovernments/[email protected]/dist/index.css"/>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#00bcd1" />
Expand Down