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

Always display the mobile nav menu when disconnecting sites #14925

Merged
merged 5 commits into from
Mar 12, 2020
Merged
Show file tree
Hide file tree
Changes from 2 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
5 changes: 5 additions & 0 deletions _inc/client/at-a-glance/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,11 @@

.jp-connection-settings__modal.dops-modal {
max-width: 635px;
min-height: 400px;
jeherve marked this conversation as resolved.
Show resolved Hide resolved

@include breakpoint( '>660px' ) {
min-height: auto;
}
}

.jp-connection-settings__modal-body {
Expand Down
22 changes: 22 additions & 0 deletions _inc/client/components/jetpack-termination-dialog/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@

.jetpack-termination-dialog__feature {
width: calc( 100% - 2em );

@include breakpoint( '>660px' ) {
width: calc( 50% - 2em );
}
Expand Down Expand Up @@ -113,25 +114,46 @@
font-weight: normal;
line-height: 24px;
margin-top: 29px;
margin-bottom: 120px;

// replicates behavior from .dops-card and keeps this centered
@include breakpoint( '>480px' ) {
margin-top: 37px;
}
@include breakpoint( '>680px' ) {
margin-bottom: 0;
}
}

.jetpack-termination-dialog__button-row {
display: flex;
flex-direction: column;
justify-content: space-between;
position: fixed;
background: $white;
bottom: 0;
margin-left: -16px;
width: 100%;
padding: 10px 16px;
border-top: 1px solid $gray;
box-sizing: border-box;

p {
text-align: center;
margin-top: 0;
}

@include breakpoint( '>480px' ) {
margin-left: -24px;
padding: 10px 24px;
}

@include breakpoint( '>660px' ) {
flex-direction: row;
position: relative;
margin-left: 0;
padding: 0;
border-top: none;

p {
text-align: auto;
Expand Down