Skip to content

Prevent focus border from shifting block contents #551

@iamthomasbishop

Description

@iamthomasbishop

When focusing a block, we add a 1px inset border. It looks like this is making the contents shift slightly.

Example on Android, although this is happening on iOS as well:

block-focus-shift

Are we able to use the box-shadow CSS property? Adding a box-shadow of 1px would in theory align to the outside of the block.

Metadata

Metadata

Labels

[Type] BugSomething isn't working

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions