-
Notifications
You must be signed in to change notification settings - Fork 50
Refactor(web)/top juror component refactor #1343
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
Conversation
✅ Deploy Preview for kleros-v2 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
| display: flex; | ||
| justify-content: space-between; | ||
| width: 100%; | ||
| background-color: ${({ theme }) => theme.lightBlue}; | ||
| padding: 24px; | ||
| border 1px solid ${({ theme }) => theme.stroke}; | ||
| border-top-left-radius: 3px; | ||
| border-top-right-radius: 3px; | ||
| border-bottom: none; | ||
| flex-wrap: wrap; | ||
| ${landscapeStyle( | ||
| () => | ||
| css` | ||
| display: none; | ||
| ` | ||
| )} |
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.
Missing identation
| display: flex; | |
| justify-content: space-between; | |
| width: 100%; | |
| background-color: ${({ theme }) => theme.lightBlue}; | |
| padding: 24px; | |
| border 1px solid ${({ theme }) => theme.stroke}; | |
| border-top-left-radius: 3px; | |
| border-top-right-radius: 3px; | |
| border-bottom: none; | |
| flex-wrap: wrap; | |
| ${landscapeStyle( | |
| () => | |
| css` | |
| display: none; | |
| ` | |
| )} | |
| display: flex; | |
| justify-content: space-between; | |
| width: 100%; | |
| background-color: ${({ theme }) => theme.lightBlue}; | |
| padding: 24px; | |
| border 1px solid ${({ theme }) => theme.stroke}; | |
| border-top-left-radius: 3px; | |
| border-top-right-radius: 3px; | |
| border-bottom: none; | |
| flex-wrap: wrap; | |
| ${landscapeStyle(() => css` | |
| display: none; | |
| `)} |
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.
Let's move WithHelpTooltip to the components folder (since it's being used outside of pages/Dashboard
| min-content repeat(2, calc(80px + (200 - 60) * (min(max(100vw, 375px), 1250px) - 375px) / 875)) | ||
| min-content auto; |
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.
|
Kudos, SonarCloud Quality Gate passed!
|
|
Code Climate has analyzed commit 517b1d0 and detected 5 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
alcercu
left a comment
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.
lgtm









PR-Codex overview
This PR focuses on refactoring and reorganizing the code related to the Top Jurors feature on the Home page.
Detailed summary: