diff --git a/packages/survey-creator-core/src/components/simulator.scss b/packages/survey-creator-core/src/components/simulator.scss index 5ac69322a7..651fda6528 100644 --- a/packages/survey-creator-core/src/components/simulator.scss +++ b/packages/survey-creator-core/src/components/simulator.scss @@ -19,10 +19,10 @@ margin: 0 auto; position: relative; overflow: hidden; - border-radius: 32px; - border: 4px solid $background-dim; - background: $background; - box-shadow: 0px 16px 32px 0px rgba(0, 0, 0, 0.10), 0px 4px 16px 0px rgba(0, 0, 0, 0.05); + border-radius: var(--ctr-preview-device-corner-radius, 32px); + border: var(--ctr-preview-device-border-width, 4px) solid var(--ctr-preview-device-border-color, $background-dim); + background: var(--ctr-preview-device-background-color, $background); + box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.10), 0px 8px 16px 0px var(--ctr-preview-device-shadow-2-color, rgba(0, 0, 0, 0.05)); } .svd-simulator-main { @@ -74,5 +74,5 @@ } .svd-simulator .sv-popup--overlay { - --sv-popup-overlay-height: 100%;; + --sv-popup-overlay-height: 100%; } \ No newline at end of file diff --git a/visualRegressionTests-V2/tests/designer/etalons/test-tab-iphone-whole-tab.png b/visualRegressionTests-V2/tests/designer/etalons/test-tab-iphone-whole-tab.png index 9c50eff536..ee0a930c32 100644 Binary files a/visualRegressionTests-V2/tests/designer/etalons/test-tab-iphone-whole-tab.png and b/visualRegressionTests-V2/tests/designer/etalons/test-tab-iphone-whole-tab.png differ diff --git a/visualRegressionTests-V2/tests/designer/etalons/test-tab-iphone.png b/visualRegressionTests-V2/tests/designer/etalons/test-tab-iphone.png index 372f978ddb..b8d69755db 100644 Binary files a/visualRegressionTests-V2/tests/designer/etalons/test-tab-iphone.png and b/visualRegressionTests-V2/tests/designer/etalons/test-tab-iphone.png differ diff --git a/visualRegressionTests/tests/designer/etalons/test-tab-iphone-whole-tab.png b/visualRegressionTests/tests/designer/etalons/test-tab-iphone-whole-tab.png index 83d96ea077..d2ed31bb46 100644 Binary files a/visualRegressionTests/tests/designer/etalons/test-tab-iphone-whole-tab.png and b/visualRegressionTests/tests/designer/etalons/test-tab-iphone-whole-tab.png differ diff --git a/visualRegressionTests/tests/designer/etalons/test-tab-iphone.png b/visualRegressionTests/tests/designer/etalons/test-tab-iphone.png index ff088adbd3..915c39b48e 100644 Binary files a/visualRegressionTests/tests/designer/etalons/test-tab-iphone.png and b/visualRegressionTests/tests/designer/etalons/test-tab-iphone.png differ