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

Fixed inconsistent margin gap between search box and search button #8595 #8647

Conversation

rishabhkr-r111
Copy link
Contributor

@rishabhkr-r111 rishabhkr-r111 commented Dec 19, 2023

Closes #8595

  1. deleted .searchInsideForm class from static/css/legacy.less as using .olform class can will maintain consistency and will allow us to remove code.
  2. updated openlibrary/templates/lists/home.html , openlibrary/templates/search/inside.html , openlibrary/templates/search/lists.html files . Changing .searchInsideForm class to .olform class which solves the issue and maintenaces consistency.
  3. updated the references of .searchInsideForm to .olform in tests/integration/test_search.py file.

Screenshot( Before)

Screenshot(After)

2. updated
	openlibrary/templates/lists/home.html
	openlibrary/templates/search/inside.html
	openlibrary/templates/search/lists.html
   files. Changing .searchInsideForm class to .olform class which solves
   the issue and maintenaces consistency.
3. updated the references of .searchInsideForm to .olform in tests/integration/test_search.py file.
@rishabhkr-r111
Copy link
Contributor Author

@mekarpeles made a PR

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3e6dc57) 17.61% compared to head (21a3855) 16.68%.
Report is 139 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8647      +/-   ##
==========================================
- Coverage   17.61%   16.68%   -0.94%     
==========================================
  Files          85       88       +3     
  Lines        4456     4681     +225     
  Branches      782      835      +53     
==========================================
- Hits          785      781       -4     
- Misses       3187     3384     +197     
- Partials      484      516      +32     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@scottbarnes scottbarnes 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 to me. Thanks, @rishabhkr-r111!

@scottbarnes scottbarnes self-assigned this Dec 19, 2023
@scottbarnes scottbarnes merged commit b9c8771 into internetarchive:master Dec 19, 2023
4 checks passed
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.

Inconsistent margin gap between search box and search button
3 participants