-
Notifications
You must be signed in to change notification settings - Fork 0
humain poc changes #63
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
base: master
Are you sure you want to change the base?
Conversation
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.
Other comments (3)
-
web/themes/dark/logo.svg (1-1)
The new SVG is missing the XML declaration and some namespace declarations that were in the original file. While the SVG may work without them in many contexts, consider adding them back for better compatibility:
<?xml version="1.0" encoding="UTF-8"?> <svg viewBox="0 0 101 14" fill="currentColor" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> - web/themes/light/logo.svg (1-1) The SVG is missing the XML declaration (``) and some namespace declarations that were in the original file. While many browsers will render this correctly, including these declarations ensures better compatibility across different environments and XML parsers.
- web/themes/light/styles.css (27-28) The `.theme-navbar__logo` class has a duplicate `height` property (lines 27-28). The second value (29px) will override the first one (100%). Consider removing the redundant property.
💡 To request another review, post a new comment with "/windsurf-review".
| .password-field-wrapper { | ||
| position: relative; | ||
| display: inline-block; | ||
| width: 100%; | ||
| position: relative; | ||
| display: inline-block; | ||
| width: 100%; | ||
| } |
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.
The .password-field-wrapper class is defined twice in the file (lines 107-111 and lines 154-158) with identical properties. This duplication is unnecessary and should be removed to improve maintainability.
| .toggle-password-button { | ||
| position: absolute; | ||
| right: 10px; | ||
| top: 50%; | ||
| transform: translateY(-50%); | ||
| background: transparent; | ||
| border: 0; | ||
| cursor: pointer; | ||
| color: inherit; | ||
| padding: 0; | ||
| height: 24px; | ||
| width: 24px; | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| position: absolute; | ||
| right: 10px; | ||
| top: 50%; | ||
| transform: translateY(-50%); | ||
| background: transparent; | ||
| border: 0; | ||
| cursor: pointer; | ||
| color: inherit; | ||
| padding: 0; | ||
| height: 24px; | ||
| width: 24px; | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: center; | ||
| } |
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.
The .toggle-password-button class is defined twice (lines 113-122 and lines 164-179) with overlapping properties. This split definition can lead to confusion and unexpected styling behavior. Consider consolidating these into a single definition.
| .dex-error-box { | ||
| background-color: #DD1327; | ||
| color: #fff; | ||
| font-size: 14px; | ||
| font-weight: normal; | ||
| max-width: 320px; | ||
| padding: 4px 0; | ||
| background-color: #dd1327; | ||
| color: #fff; | ||
| font-size: 14px; | ||
| font-weight: normal; | ||
| max-width: 320px; | ||
| padding: 4px 0; | ||
| } | ||
|
|
||
| .dex-error-box { | ||
| margin: 20px auto; | ||
| margin: 20px 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.
There are duplicate CSS rules for .dex-error-box (lines 152-159 and 161-163). Consider merging these into a single rule for better maintainability:
| .dex-error-box { | |
| background-color: #DD1327; | |
| color: #fff; | |
| font-size: 14px; | |
| font-weight: normal; | |
| max-width: 320px; | |
| padding: 4px 0; | |
| background-color: #dd1327; | |
| color: #fff; | |
| font-size: 14px; | |
| font-weight: normal; | |
| max-width: 320px; | |
| padding: 4px 0; | |
| } | |
| .dex-error-box { | |
| margin: 20px auto; | |
| margin: 20px auto; | |
| } | |
| .dex-error-box { | |
| background-color: #dd1327; | |
| color: #fff; | |
| font-size: 14px; | |
| font-weight: normal; | |
| max-width: 320px; | |
| padding: 4px 0; | |
| margin: 20px auto; | |
| } |
Overview
What this PR does / why we need it
Special notes for your reviewer
Summary by Bito