-
Notifications
You must be signed in to change notification settings - Fork 1
Aut 90 logistration stage registration and sign in pages are misaligned and not following the expected layout style #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
61573be
c7f3b09
47d5ba4
f8aecd1
ca9381f
525490d
540f0de
b263afe
f596838
c9111cd
eedfeb4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,7 +2,6 @@ import React from 'react'; | |
|
|
||
| import { getConfig } from '@edx/frontend-platform'; | ||
| import { breakpoints } from '@openedx/paragon'; | ||
| import classNames from 'classnames'; | ||
| import PropTypes from 'prop-types'; | ||
| import MediaQuery from 'react-responsive'; | ||
|
|
||
|
|
@@ -30,7 +29,7 @@ const BaseContainer = ({ children, showWelcomeBanner, fullName }) => { | |
| <MediaQuery minWidth={breakpoints.extraLarge.minWidth}> | ||
| {showWelcomeBanner ? <AuthLargeLayout fullName={fullName} /> : <ImageLargeLayout />} | ||
| </MediaQuery> | ||
| <div className={classNames('content', { 'align-items-center mt-0': showWelcomeBanner })}> | ||
| <div className="content"> | ||
| {children} | ||
| </div> | ||
| </div> | ||
|
|
@@ -50,7 +49,7 @@ const BaseContainer = ({ children, showWelcomeBanner, fullName }) => { | |
| <MediaQuery minWidth={breakpoints.extraLarge.minWidth}> | ||
| {showWelcomeBanner ? <AuthLargeLayout fullName={fullName} /> : <DefaultLargeLayout />} | ||
| </MediaQuery> | ||
| <div className={classNames('content', { 'align-items-center mt-0': showWelcomeBanner })}> | ||
| <div className="content"> | ||
| {children} | ||
| </div> | ||
|
Comment on lines
+52
to
54
|
||
| </div> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change removes the showWelcomeBanner-specific spacing/alignment classes from the shared BaseContainer. BaseContainer is also used outside the Register/Sign-in flows (e.g., ProgressiveProfiling passes showWelcomeBanner), so this will change layout in those screens too; please confirm this is intended or scope the styling change to only the logistration pages (e.g., via a dedicated prop or wrapper class).