forked from datacommonsorg/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements to header (datacommonsorg#4709)
## Description This PR follows up from previous changes to the autocomplete, in order to fix the margins around the box in some views. The header search bar now displays in the correct place in all views, including with the autocomplete. Some additional refactoring of the styles was done, including the beginning of a more complete separation of the new home page styles from the template custom styles. As an example of one of the adjustments: Before: ![before](https://github.com/user-attachments/assets/c79367a7-dd81-4031-8ab8-a08a43d1e191) After: <img width="560" alt="Screenshot 2024-11-04 at 8 01 06 PM" src="https://github.com/user-attachments/assets/0057a7e3-a083-4525-9b07-2ce23acefa9c"> --------- Co-authored-by: Pablo Noel <[email protected]>
- Loading branch information
Showing
6 changed files
with
90 additions
and
52 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,6 +80,7 @@ const HeaderLogo = ({ | |
}); | ||
return true; | ||
}} | ||
className="main-header-name" | ||
> | ||
{name} | ||
</a> | ||
|