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

Put the Filters page content into a paper #9

Merged
merged 1 commit into from Jun 17, 2022

Conversation

giulioz
Copy link
Contributor

@giulioz giulioz commented Jun 16, 2022

The current standard for admin pages is to have the content into a Paper component, to separate the content from the background:

image

The Filters page, though, doesn't follow this and throws everything in the background instead:

image

This small PR fixes the styling of the Filters page, putting all the content into a Paper component. Furthermore, it moves the add button to the breadcrumbsControls prop of Layout, which was designed for this purpose and adds a tooltip for it.

image

@giulioz
Copy link
Contributor Author

giulioz commented Jun 16, 2022

@lorenzov96 the reason why now it's more spaced vertically it's because at line 335 there is a <div style={{ width: "100%", height: "32px" }}></div> present, which previously didn't have any effect since the parent element was a flex container

@cbianco cbianco merged commit 66d09ca into smclab:main Jun 17, 2022
danielecalda pushed a commit that referenced this pull request Jun 20, 2022
danielecalda pushed a commit that referenced this pull request Oct 26, 2022
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.

None yet

2 participants