Skip to content

Commit 65106b6

Browse files
Replace rigid full height with flex style (#103527)
1 parent d1e1342 commit 65106b6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

client/my-sites/invites/invite-accept-logged-out/style.scss

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ body.is-section-accept-invite {
1616
}
1717
.invite-accept__form {
1818
height: 100%;
19+
display: flex;
20+
flex-direction: column;
1921
}
2022
.layout__content {
2123
padding: 24px;
@@ -26,7 +28,7 @@ body.is-section-accept-invite {
2628
margin: 0 auto;
2729
display: flex;
2830
flex-direction: column;
29-
height: 100%;
31+
flex: 1;
3032
box-sizing: border-box;
3133
font-family: $font-sf-pro-text;
3234

client/my-sites/invites/invite-accept/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,8 @@ class InviteAccept extends Component {
269269

270270
return (
271271
<div className={ containerClasses }>
272-
{ this.localeSuggestions() }
273272
<div className={ formClasses }>
273+
{ this.localeSuggestions() }
274274
{ this.isMatchEmailError() && user && (
275275
<Notice
276276
text={ this.props.translate( 'This invite is only valid for %(email)s.', {

0 commit comments

Comments
 (0)