lucca-front icon indicating copy to clipboard operation
lucca-front copied to clipboard

Box-shadow used as border should be inset. Otherwise they may be cropped

Open BertrandPodevin opened this issue 11 months ago • 6 comments

IF a component use a box-shadow: 0 0 0 1px #color; as a border, this shadow should also be defined as inset. Otherwise the shadow overflow it's box and could be cropped by it's parents.

Example with a callout : the laterals shadows are cropped. image

That would'nt be the case with an inset shadow : image

BertrandPodevin avatar Mar 11 '24 11:03 BertrandPodevin