diff --git a/apps/ui/src/text-view/scrolling-and-sizing-page.css b/apps/ui/src/text-view/scrolling-and-sizing-page.css index 2cbc719a42..ff0ac7c1b9 100644 --- a/apps/ui/src/text-view/scrolling-and-sizing-page.css +++ b/apps/ui/src/text-view/scrolling-and-sizing-page.css @@ -2,6 +2,10 @@ padding: 10 20 10 20; } +.p-20 { + padding: 20; +} + .m-b-10 { margin-bottom: 10; } @@ -47,7 +51,7 @@ TextView { } .shadow { - box-shadow: inset 0 0 5 5 #000000; + box-shadow: 2 2 6 6 #ff0000; } .body { diff --git a/apps/ui/src/text-view/scrolling-and-sizing-page.xml b/apps/ui/src/text-view/scrolling-and-sizing-page.xml index be32029ca1..d7ccf22361 100644 --- a/apps/ui/src/text-view/scrolling-and-sizing-page.xml +++ b/apps/ui/src/text-view/scrolling-and-sizing-page.xml @@ -36,7 +36,7 @@ - + diff --git a/packages/core/ui/styling/background.ios.ts b/packages/core/ui/styling/background.ios.ts index 4b0f42b6c3..d82f026977 100644 --- a/packages/core/ui/styling/background.ios.ts +++ b/packages/core/ui/styling/background.ios.ts @@ -1140,7 +1140,7 @@ function drawBoxShadow(view: View): void { // Shadow opacity is handled on the shadow's color instance shadowLayer.shadowOpacity = boxShadow.color?.a ? boxShadow.color.a / 255 : 1; - shadowLayer.shadowRadius = shadowRadius; + shadowLayer.shadowRadius = shadowRadius * 0.65; shadowLayer.shadowColor = boxShadow.color?.ios?.CGColor; shadowLayer.shadowOffset = CGSizeMake(offsetX, offsetY);