Skip to content

Commit

Permalink
work for #6655 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
OlgaLarina committed Sep 4, 2023
1 parent 48f007c commit 012b294
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/defaultCss/defaultV2Css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ export var defaultV2Css = {
rootWrapper: "sd-root-modern__wrapper",
rootWrapperFixed: "sd-root-modern__wrapper--fixed",
rootBackgroundImage: "sd-root_background-image",
rootBackgroundImageFixed: "sd-root_background-image--fixed",
container: "sd-container-modern",
header: "sd-title sd-container-modern__title",
bodyContainer: "sv-components-row",
Expand Down
2 changes: 1 addition & 1 deletion src/defaultV2-theme/blocks/sd-body.scss
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,6 @@
left: 0;
right: 0;
}
.sd-root-modern--full-container.sd-root-modern__wrapper--fixed .sd-root_background-image {
.sd-root-modern--full-container .sd-root-modern__wrapper--fixed .sd-root_background-image {
right: 12px;
}
2 changes: 1 addition & 1 deletion src/react/reactSurvey.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class Survey extends SurveyElementBase<any, any>
return (
<div id={this.rootNodeId} ref={this.rootRef} className={cssClasses} style={this.survey.themeVariables}>
<div className={this.survey.wrapperFormCss}>
{!!backgroundImage ? backgroundImage: null}
{backgroundImage}
<form onSubmit={onSubmit}>
{customHeader}
<div className={this.css.container}>
Expand Down

0 comments on commit 012b294

Please sign in to comment.