Skip to content

Commit

Permalink
chore: update dpp and dfr render template on mobile UIs (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
huynguyen-hl authored Dec 16, 2024
1 parent fb818d5 commit 5f8c113
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 24 deletions.
12 changes: 6 additions & 6 deletions app-config.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions packages/components/src/constants/app-config.json

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions packages/mock-app/src/constants/app-config.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions packages/mock-app/src/templates/v0.5.0/dfr.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
align-items: flex-start;
gap: 8px;
min-width: 336px;
min-width: 100%;
padding: 16px 18px 16px 16px;
position: relative;
background-color: var(--white);
Expand Down Expand Up @@ -339,7 +339,8 @@
}
.facility-record .cards-traceability {
display: flex;
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
justify-content: space-between;
padding: 8px 0px;
Expand All @@ -361,7 +362,6 @@
.facility-record .company-name-wrapper {
display: flex;
flex-direction: column;
width: 260px;
align-items: flex-start;
gap: 4px;
}
Expand Down
7 changes: 4 additions & 3 deletions packages/mock-app/src/templates/v0.5.0/dpp.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@
flex-direction: column;
align-items: flex-start;
gap: 8px;
min-width: 336px;
min-width: 100%;
padding: 16px 18px 16px 16px;
position: relative;
background-color: var(--white);
Expand Down Expand Up @@ -563,7 +563,8 @@
}
.cards-traceability {
display: flex;
display: grid;
grid-template-columns: 1fr auto;
align-items: center;
justify-content: space-between;
padding: 8px 0px;
Expand Down Expand Up @@ -624,7 +625,7 @@
.company-name-wrapper {
display: flex;
flex-direction: column;
width: 260px;
width: 100%;
align-items: flex-start;
gap: 4px;
position: relative;
Expand Down

0 comments on commit 5f8c113

Please sign in to comment.