The color field has a class which is having a height and width which is overriding the default behavior.
I have added a screenshot for reference.

This can be seen on live preview: https://tugboat-aqrmztryfqsezpvnghut1cszck2wwasr.tugboat.qa/form/example-accessibility-basic

CommentFileSizeAuthor
Screenshot 2021-04-08 at 10.06.56.png111.51 KBgauravvvv

Comments

Gauravmahlawat created an issue. See original summary.

mherchel’s picture

Status: Active » Closed (duplicate)

This is a duplicate of #3206948: Olivero: input[type=color] should have a wider width and no padding. Note that the webform module adds a width in their CSS, which changes the appearance.

You can see the color field in action at https://tugboat-aqrmztryfqsezpvnghut1cszck2wwasr.tugboat.qa/admin/appear...