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

Barefeature #2

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Barefeature #2

wants to merge 2 commits into from

Conversation

see-ann
Copy link

@see-ann see-ann commented Mar 14, 2022

No description provided.

Copy link
Member

@gagik gagik left a comment

Choose a reason for hiding this comment

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

Looks good, just need to change the use of divs to use the Evergreen equivalent Pane and should be good to merge!

paddingBottom={majorScale(7)}>
<div style={{width:"100%", display:"flex", justifyContent:"space-between"}}>

<div style={{marginLeft:40}}>
Copy link
Member

Choose a reason for hiding this comment

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

Please use <Pane marginLeft={40}> etc. instead, it is basically 1:1 equivalent which is why we use it in other parts of the code. Same applies for everything

paddingX="10px"
paddingTop={majorScale(5)}
paddingBottom={majorScale(7)}>
<div style={{width:"100%", display:"flex", justifyContent:"space-between"}}>
Copy link
Member

Choose a reason for hiding this comment

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

Use <Pane> instead of divs. For example, this would have been:
<Pane width="100%" display="flex" justifyContent="space-between">...</Pane>
which is just much cleaner.

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.

2 participants