Skip to content

Conversation

@4manasa
Copy link
Contributor

@4manasa 4manasa commented Apr 19, 2023

…late

Comment on lines 26 to 32
<div className='banner-layout' style={{gridTemplateColumns: b ? `${gridCols}` : '1fr'}}>
<div style={{ padding: '1em' }}>
{a}
</div>
<div style={{ padding: '1em' }}>
{b}
</div>
Copy link
Collaborator

Choose a reason for hiding this comment

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

why are you not using React Material Grid?

Copy link
Contributor Author

@4manasa 4manasa Apr 19, 2023

Choose a reason for hiding this comment

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

why are you not using React Material Grid?

As the div tag also worked in my case removed Material Grid, will update to Grid.

@4manasa 4manasa force-pushed the mod/tor/US-536543-1 branch from 5b9c66b to 7463480 Compare April 20, 2023 04:43
const variantMap = {
'two-column': [6, 6],
'narrow-wide': [4, 8],
'wide-narrow': [8,4]
Copy link
Collaborator

Choose a reason for hiding this comment

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

lint: add space between ',' and 4

Comment on lines 102 to 112
<Box
sx={{ flexGrow: 1, display: { xs: 'none', md: 'flex' } }}
style={{ justifyContent: alignment }}
>
{navLinks.map(link => (
<Button className='link-style' key={link.text} onClick={link.onClick}>
{link.text}
</Button>
))}
</Box>
)}
Copy link
Collaborator

Choose a reason for hiding this comment

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

If it is the same code getting duplicated below, can we create a separate individual component for it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed duplicate code

@4manasa 4manasa merged commit 954d585 into main Apr 21, 2023
@4manasa 4manasa deleted the mod/tor/US-536543-1 branch April 21, 2023 05:33
JEAxero added a commit that referenced this pull request Apr 24, 2023
* update react_pconnect to match dxcomponents (#303)

* update react_pconnect to match dxcomponents

* Added tests for TextInput, added a couple of tests in the unit test, and updated the structure of the tests folder (#307)

* fix: view has no child text (#310)

* fix: view has no child text

* Added support for two-column and narrow-wide templates in Banner temp… (#306)

* Added support for two-column and narrow-wide templates in Banner template

Co-authored-by: manasa <manasa.mashetty@in.pega.com>

---------

Co-authored-by: tumms2021389 <97188066+tumms2021389@users.noreply.github.com>
Co-authored-by: Vishal Sharma <vishalshrm539@gmail.com>
Co-authored-by: 4manasa <manasamashetty96@gmail.com>
Co-authored-by: manasa <manasa.mashetty@in.pega.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants