Skip to content

[DashboardLayout] Add branding prop as override#4442

Merged
apedroferreira merged 1 commit intomui:masterfrom
apedroferreira:layout-branding-prop
Nov 20, 2024
Merged

[DashboardLayout] Add branding prop as override#4442
apedroferreira merged 1 commit intomui:masterfrom
apedroferreira:layout-branding-prop

Conversation

@apedroferreira
Copy link
Collaborator

@apedroferreira apedroferreira commented Nov 19, 2024

Small change just to try to address this old discussion: #4118

Add a branding prop to DashboardLayout that can be used to override the AppProvider branding.

Also slightly increased spacing between logo and title in the layout header bar, as I noticed it was currently too small for most logos.

@apedroferreira apedroferreira added type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. scope: toolpad-core Abbreviated to "core" labels Nov 19, 2024
@apedroferreira apedroferreira self-assigned this Nov 19, 2024
@apedroferreira apedroferreira marked this pull request as ready for review November 19, 2024 17:24
@apedroferreira apedroferreira merged commit 1826da5 into mui:master Nov 20, 2024
@apedroferreira apedroferreira deleted the layout-branding-prop branch November 20, 2024 13:07
@bharatkashyap
Copy link
Collaborator

@apedroferreira Missed mentioning that we should document this override prop in this section: https://mui.com/toolpad/core/react-dashboard-layout/#branding

@apedroferreira
Copy link
Collaborator Author

@apedroferreira Missed mentioning that we should document this override prop in this section: https://mui.com/toolpad/core/react-dashboard-layout/#branding

Good point, we should do it, will add later!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: toolpad-core Abbreviated to "core" type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants