-
Notifications
You must be signed in to change notification settings - Fork 339
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
Changed components to use Carbon grid instead of inlineDiv #1614
base: develop
Are you sure you want to change the base?
Conversation
Signed-off-by: Vaishnavi Bhandari <vaishnavibhandari.128@gmail.com>
Signed-off-by: Vaishnavi Bhandari <vaishnavibhandari.128@gmail.com>
Signed-off-by: Vaishnavi Bhandari <vaishnavibhandari.128@gmail.com>
Signed-off-by: Vaishnavi Bhandari <vaishnavibhandari.128@gmail.com>
Signed-off-by: Vaishnavi Bhandari <vaishnavibhandari.128@gmail.com>
Signed-off-by: Vaishnavi Bhandari <vaishnavibhandari.128@gmail.com>
Signed-off-by: Vaishnavi Bhandari <vaishnavibhandari.128@gmail.com>
Signed-off-by: Vaishnavi Bhandari <vaishnavibhandari.128@gmail.com>
Signed-off-by: Vaishnavi Bhandari <vaishnavibhandari.128@gmail.com>
onChange={(date) => handleCollectionDate(date)} | ||
value={sampleXml.collectionDate} | ||
labelText={intl.formatMessage({ id: "sample.collection.date" })} | ||
className="inputText" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you get rid of this class , and we purly rely on carbon grid for the layout?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will change it surely.
} | ||
onChange={(time) => handleCollectionTime(time)} | ||
value={sampleXml.collectionTime} | ||
className="inputText" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
get rid of the css class here
Thanks @peach280 . |
Signed-off-by: Vaishnavi Bhandari <vaishnavibhandari.128@gmail.com>
Signed-off-by: Vaishnavi Bhandari <vaishnavibhandari.128@gmail.com>
disallowFutureDate={true} | ||
/> | ||
<Grid> | ||
<Column style={{ margin: 0 }} lg={16} md={8} sm={4}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you notice you changed the layout of the componenets here ??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I have fixed the layout now.
{programs.length > 0 && ( | ||
<div className="inputText"> | ||
<Grid> | ||
<Column lg={8} md={4} sm={4}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you also have a broken layout here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed it
Hello @peach280 . Thanks for the PR. Ensure to add the screen shots before and after for each page you have made changes into |
I am taking 'before' and 'after' screenshots. I will complete the process for all modified pages and add them to the PR description. |
I have made the changes to ensure that the layout doesn't break. |
Signed-off-by: Vaishnavi Bhandari <vaishnavibhandari.128@gmail.com>
Hi @mozzy11, In immunohistochemistry and pathology pages, after these changes Column by default arranges elements like Filters,My Cases vertically so should I change that? |
Signed-off-by: Vaishnavi Bhandari <vaishnavibhandari.128@gmail.com>
You should rightly use the Coloum element. ie compoenets below would be arragened horizontal. see carbon Grid
|
Thanks @mozzy11 I will make the changes soon and commit them |
Signed-off-by: Vaishnavi Bhandari <vaishnavibhandari.128@gmail.com>
Signed-off-by: Vaishnavi Bhandari <vaishnavibhandari.128@gmail.com>
Hi @mozzy11, I have corrected the layout of immunohistochemistry and pathology pages and I have also fixed the layout of modify order for both additional questions and add order. |
Hi @mozzy11 , are there any changes that I can make to improve this PR? Please provide your feedback. |
Pull Requests Requirements
Issue number if applicable.
documentation.
Summary
Fixes #978
Almost all components have been changes to use carbon grid instead of inlineDiv
Screenshots
The display is same as before but more responsive.