Gutenberg: Block Directory: Layout Improvement

Created on 29 Apr 2020  路  3Comments  路  Source: WordPress/gutenberg

Is your feature request related to a problem? Please describe.
When the Block Directory designs were conceived, they assumed a larger inserter width than we currently have today. As a result, the split installation/update icon layout that made sense in a wider inserter doesn't seem to work anymore.

Note: Recently the inserter went from 400px to 350px wide, causing the layout issues.

With that in mind, I would like gather some ideas on how we can improve their layout.

How we hoped they would look:

Design

How they look today:

Actual

[Feature] Block Directory

Most helpful comment

Here's a quick revision accommodating the 350px width.

  1. It expands the block container to the edges providing more room inside.
  2. It butts up the blocks one after the other.
  3. It stacks the stats on top of each other.

block directory

All 3 comments

One option would be to make the text smaller.

We would have to go pretty small to make it consistent. Probably font-size: 10px.

 

Screenshot

Smaller Text

Hi @StevenDufresne 馃憢

Considering that these labels could get much longer when translated to other languages, I think it's safe to say that we should look at alternatives. I don't think that having both in the same row will scale well.

I honestly wouldn't mind having them in two lines: active installations followed by last date of update.

What do you think?

Here's a quick revision accommodating the 350px width.

  1. It expands the block container to the edges providing more room inside.
  2. It butts up the blocks one after the other.
  3. It stacks the stats on top of each other.

block directory

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mhenrylucero picture mhenrylucero  路  3Comments

hedgefield picture hedgefield  路  3Comments

franz-josef-kaiser picture franz-josef-kaiser  路  3Comments

moorscode picture moorscode  路  3Comments

maddisondesigns picture maddisondesigns  路  3Comments