-
Notifications
You must be signed in to change notification settings - Fork 117
Frontend fix input styling #3865
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?
Changes from 1 commit
58b614d
2bba16d
df0c77b
bba77c8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -187,31 +187,8 @@ | |
| transform: translateY(-10px); | ||
| } | ||
|
|
||
| .searchInput { | ||
| background-color: var(--color-background); | ||
| border: 1px solid var(--color-border); | ||
| border-radius: 4px; | ||
| color: var(--color-text); | ||
| font-size: var(--size-default); | ||
| transition: border-color 0.2s ease; | ||
| margin: 0; | ||
| margin-bottom: var(--space-half); | ||
| min-width: 320px; | ||
| width: 100%; | ||
| } | ||
|
|
||
| .searchInput:focus { | ||
| outline: none; | ||
| border-color: var(--color-primary); | ||
| box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb), 0.1); | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. AI hallucination? we never had |
||
| } | ||
|
|
||
| .searchInput::placeholder { | ||
| color: var(--color-secondary); | ||
| } | ||
|
|
||
| @media (max-width: 768px) { | ||
| .searchInput { | ||
| .searchInput > div { | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'd like to open a new PR building on top this one to remove the selector "hack". But it would be great to merge this first. |
||
| padding-right: 0; | ||
| } | ||
|
|
||
|
|
||
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 regression is that .searchInput was before added to the input element and now it's on a container element. So all these styles are on the container.
This would fix the selectors, but then the UI looks broken, not sure if these styles were ever used 🤔