Skip to content

Commit

Permalink
fix(Use Case Participation): columns alignment ui issue (#1247)
Browse files Browse the repository at this point in the history
  • Loading branch information
kunalgaurav-bmw authored Oct 28, 2024
1 parent cf9a7db commit f98df16
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Unreleased

### Bugfixes

- **Use Case Participation**
- fixed columns alignment ui issue [#1247](https://github.com/eclipse-tractusx/portal-frontend/pull/1247)

## 2.3.0-RC1

### Change
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
padding: 30px;
}
.useCase-list-main {
max-width: 850px;
max-width: 1200px;
width: 100%;
margin: 0 auto 50px;
.progress-main {
Expand Down Expand Up @@ -99,6 +99,9 @@
}
.credential-list {
list-style: none;
.MuiAccordionSummary-root {
padding: 0px 25px 0px 0px;
}
.credential-list-item {
width: 100%;
margin-bottom: 0;
Expand Down
6 changes: 4 additions & 2 deletions src/components/pages/UsecaseParticipation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export default function UsecaseParticipation() {
: 'N/A'}
</Typography>
</Trans>
{expiryDate.diff(todayDate, 'day') > 0 && (
{expiryDate.diff(todayDate, 'day') > 0 ? (
<Typography variant="body3" className="fifthSection">
<Chip
color="secondary"
Expand All @@ -135,6 +135,8 @@ export default function UsecaseParticipation() {
type="plain"
/>
</Typography>
) : (
<div className="fifthSection" />
)}
</div>
)
Expand Down Expand Up @@ -238,7 +240,7 @@ export default function UsecaseParticipation() {
<div
className="credential-list-item"
style={{
width: '82%',
width: '80%',
textAlign: 'center',
margin: '0 0 10px',
}}
Expand Down

0 comments on commit f98df16

Please sign in to comment.