microsoft / design-to-code

A system of development tools, and utilities used à la carte or as a suite to build enterprise-grade websites and applications.
MIT License
24 stars 6 forks source link

[Feature]: Update the highlight to include padding and margin similar to dev tools #175

Open janechu opened 2 years ago

janechu commented 2 years ago

What package(s) should this feature be added to?

@microsoft/fast-tooling

Summary

Description

The highlight generated from hovering the <html-render-layer> contains the entire elements box model. This is sometimes misleading as the padding makes an element that contains text (such as paragraph) appear irrationally large without the benefit of knowing how much padding the element has.

Requirements