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

Add CSSBaseline to the default layout for better UI #8216

Merged
merged 1 commit into from
Oct 3, 2022
Merged

Conversation

fzaninotto
Copy link
Member

@fzaninotto fzaninotto commented Sep 30, 2022

Problem

MUI's <CSSBaseline> is crucial to get a good UI with react-admin, yet we never mention it in the documentation.

We do our tests with the Simple example, which uses CSSBaselaine, without realizing that for most users, without CSS Baseline, the UI is degraded.

Solution

Enable it by default

Before

Note the top margin between the AppBar and the content

image

After

image

@fzaninotto fzaninotto added the RFR Ready For Review label Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RFR Ready For Review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants