Problem/Motivation

Block layout page currently has a regular select element on the region selection. However, the design system uses small select varation for this element.

https://www.figma.com/file/OqWgzAluHtsOd5uwm1lubFeH/Design-system?node-i...

Proposed resolution

Use the small variation of select for the region selection in the block layout page.

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Comments

lauriii created an issue. See original summary.

huzooka’s picture

StatusFileSize
new22.58 KB
new18.37 KB
new11.65 KB

Well, it's a third version.

See the attachments.

huzooka’s picture

huzooka’s picture

jds1’s picture

StatusFileSize
new490 bytes

I added some code to the select preprocess in claro.theme that checks if the select element is the region selector and adds the small class. Patch attached.

jds1’s picture

Status: Active » Needs review
brightbold’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new55.74 KB
new62.54 KB

Both the patch and its results look good to me.

Before:
Claro bl0ck layout page with large select form inputs

After:
Claro block layout page with small select form inputs

  • lauriii committed 793fab8 on 8.x-1.x
    Issue #3029683 by if-jds, huzooka, BrightBold, lauriii: Use small select...
lauriii’s picture

Status: Reviewed & tested by the community » Fixed

Looks good. Thank you everyone!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.