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

fix(toolbar): reduce height if read-only #8976

Merged
merged 1 commit into from
May 31, 2023
Merged

Conversation

caugner
Copy link
Contributor

@caugner caugner commented May 30, 2023

Summary

Problem

On Preview URLs, the toolbar is unnecessarily high, because it contains a <p>, which has margin: 1rem 0 2rem;.

Solution

Turn the <p> into a <div>.


Screenshots

Before

image

After

image

How did you test this change?

Applied the changes directly here.

@caugner caugner requested a review from LeoMcA May 30, 2023 14:52
@LeoMcA LeoMcA merged commit 9e91c72 into main May 31, 2023
@LeoMcA LeoMcA deleted the reduce-toolbar-height branch May 31, 2023 16:36
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.

2 participants