Skip to content
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

fix: Authn pages - fix background on medium resolutions [master] #1192

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions src/base-container/components/default-layout/LargeLayout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ const LargeLayout = () => {
const { formatMessage } = useIntl();

return (
<div className="w-50 d-flex">
<div className="col-md-9 bg-primary-400">
<div className="w-50 d-flex bg-primary-400 authn-container">
<div className="col-md-10">
<Hyperlink destination={getConfig().MARKETING_SITE_BASE_URL}>
<Image className="logo position-absolute" alt={getConfig().SITE_NAME} src={getConfig().LOGO_WHITE_URL} />
</Hyperlink>
Expand All @@ -31,13 +31,6 @@ const LargeLayout = () => {
</h1>
</div>
</div>
<div className="col-md-3 bg-white p-0">
<svg className="ml-n1 w-100 h-100 large-screen-svg-primary" preserveAspectRatio="xMaxYMin meet">
<g transform="skewX(171.6)">
<rect x="0" y="0" height="100%" width="100%" />
</g>
</svg>
</div>
</div>
);
};
Expand Down
15 changes: 15 additions & 0 deletions src/sass/_style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -457,3 +457,18 @@ select.form-control {
.pgn__form-control-decorator-trailing {
right: 0 !important;
}

.authn-container {
position: relative;

&:before {
content: "";
position: absolute;
top: 0;
right: 0;
bottom: 0;
width: 140px;
background-color: #fff;
clip-path: polygon(101% 0%, 0% 100%, 101% 100%);
}
}
Loading