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

Try/hint of more blocks in inserter #19609

Closed
wants to merge 3 commits into from

Conversation

enriquesanchez
Copy link
Contributor

@enriquesanchez enriquesanchez commented Jan 13, 2020

Description

Closes #17872.

This PR explores setting line-height: 1; to some button elements in the block inserter and adding 10px to the inserter's overall height in order to reveal more of the available blocks and categories, thus hinting to users that there's more content to scroll.

How has this been tested?

Locally in MacOS Firefox, Safari and Chrome.

Screenshots

Before the change:
66523022-7f2a4400-eab4-11e9-940c-f22a183959b2

After the change:
Screen Shot 2020-01-13 at 16 18 35

Types of changes

CSS, visual.

@youknowriad youknowriad added [Feature] Inserter The main way to insert blocks using the + button in the editing interface Needs Design Feedback Needs general design feedback. labels Jan 14, 2020
@karmatosed
Copy link
Member

@enriquesanchez I was just testing this PR and I wonder if you could go a little further and show all of the accordion? For me, not showing it all felt a little disjointed.

@enriquesanchez
Copy link
Contributor Author

thanks for the feedback @karmatosed!

I updated the PR and added more height to the inserter, it should now look like this:

Screen Shot 2020-01-21 at 18 25 23

@draganescu
Copy link
Contributor

@enriquesanchez I am unsure of my dev env lately but for me on this branch, unline master I cannot open the block inserter on mobile:

Screenshot 2020-02-13 at 08 43 47

@enriquesanchez
Copy link
Contributor Author

Thanks for the feedback @karmatosed and @draganescu 🙏

Given that this is a tiny change and there's already other issues (#19836 and #17335) addressing changes to the block library, I'm going to go ahead and close this PR.

@aristath aristath deleted the try/hint-of-more-blocks-in-inserter branch November 10, 2020 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Inserter The main way to insert blocks using the + button in the editing interface Needs Design Feedback Needs general design feedback.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In the block inserter, hint that there are more blocks below 'Most Used'
4 participants