Skip to content

Commit 2aa45cf

Browse files
committed
#6700 Toolbox and dropdown list separators disappear due to small UI scaling (Safari).
Fixes #6700
1 parent 45ac545 commit 2aa45cf

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

packages/survey-creator-core/src/components/list.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133

134134
.svc-list__item-separator {
135135
width: 100%;
136-
height: var(--ctr-separator-width, var(--sjs-size-x0125));
136+
height: var(--ctr-separator-width, var(--sjs-stroke-x1));
137137
margin: var(--ctr-separator-margin-vertical-small, var(--sjs-spacing-x1)) 0px;
138138
background-color: var(--ctr-separator-color, var(--sjs-border-25, #d4d4d4ff));
139139
}

packages/survey-creator-core/src/components/toolbox/toolbox.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@
173173
&:after {
174174
content: "";
175175
display: block;
176-
height: var(--ctr-toolbox-separator-height, var(--sjs-size-x0125));
176+
height: var(--ctr-toolbox-separator-height, var(--sjs-stroke-x1));
177177
background-color: var(--ctr-toolbox-separator-color, var(--sjs-border-25, #d4d4d4ff));
178178
}
179179
}

packages/survey-creator-react/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
"build": "webpack --env buildType=dev --env emitDeclarations --env emitNonSourceFiles && webpack --env buildType=prod && rollup -c",
3636
"watch:dev": "concurrently \"webpack --env buildType=dev --watch --env emitDeclarations --env emitStyles\" \"rollup -c -w\" ",
3737
"watch:prod": "webpack --env buildType=prod --watch",
38-
"lint": "eslint ./src"
38+
"lint": "eslint ./src",
39+
"webkit": "npx playwright wk http://127.0.0.1:8082"
3940
},
4041
"devDependencies": {
4142
"@rollup/plugin-node-resolve": "^16.0.0",

0 commit comments

Comments
 (0)