diff options
Diffstat (limited to 'browser/components/aboutwelcome/content-src/components/MultiStageProtonScreen.jsx')
-rw-r--r-- | browser/components/aboutwelcome/content-src/components/MultiStageProtonScreen.jsx | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/browser/components/aboutwelcome/content-src/components/MultiStageProtonScreen.jsx b/browser/components/aboutwelcome/content-src/components/MultiStageProtonScreen.jsx index ffe64f05f1..59771e4e48 100644 --- a/browser/components/aboutwelcome/content-src/components/MultiStageProtonScreen.jsx +++ b/browser/components/aboutwelcome/content-src/components/MultiStageProtonScreen.jsx @@ -311,7 +311,10 @@ export class ProtonScreen extends React.PureComponent { /> ) : null} {content.tiles && content.tiles.type === "migration-wizard" ? ( - <EmbeddedMigrationWizard handleAction={this.props.handleAction} /> + <EmbeddedMigrationWizard + handleAction={this.props.handleAction} + content={content} + /> ) : null} </React.Fragment> ); @@ -500,6 +503,7 @@ export class ProtonScreen extends React.PureComponent { <main className={`screen ${this.props.id || ""} ${screenClassName} ${textColorClass}`} + reverse-split={content.reverse_split ? "" : null} role={ariaRole ?? "alertdialog"} layout={content.layout} pos={content.position || "center"} @@ -508,6 +512,7 @@ export class ProtonScreen extends React.PureComponent { ref={input => { this.mainContentHeader = input; }} + no-rdm={content.no_rdm ? "" : null} > {isCenterPosition ? null : this.renderSecondarySection(content)} <div @@ -541,6 +546,12 @@ export class ProtonScreen extends React.PureComponent { content.width && content.position !== "split" ? content.width : null, + paddingBlock: content.split_content_padding_block + ? content.split_content_padding_block + : null, + paddingInline: content.split_content_padding_inline + ? content.split_content_padding_inline + : null, }} > {content.logo ? this.renderPicture(content.logo) : null} @@ -591,11 +602,11 @@ export class ProtonScreen extends React.PureComponent { handleAction={this.props.handleAction} /> ) : null} + {this.renderContentTiles()} + {this.renderLanguageSwitcher()} {content.above_button_content ? this.renderOrderedContent(content.above_button_content) : null} - {this.renderContentTiles()} - {this.renderLanguageSwitcher()} {!hideStepsIndicator && aboveButtonStepsIndicator ? this.renderStepsIndicator() : null} |