Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Commit

Permalink
Onboarding - Fix payment CSS on mobile (#3236)
Browse files Browse the repository at this point in the history
  • Loading branch information
justinshreve authored Nov 15, 2019
1 parent 2f21173 commit a73cfda
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions client/dashboard/task-list/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,47 @@
margin-left: $gap-smallest;
}
}

@include breakpoint( '<600px' ) {
.woocommerce-list__item > .woocommerce-list__item-inner {
flex-direction: column;
}

.woocommerce-list__item-title {
border-top: 0;
}

.woocommerce-list__item .woocommerce-list__item-before {
margin-top: 0;
order: 1;
}

.woocommerce-task-payments__woocommerce-services-options {
margin-top: $gap-smaller;
border-top: 0;
}

.woocommerce-task-payments__woocommerce-services-options .muriel-component {
margin-left: -$gap-larger;
}

.woocommerce-list__item .woocommerce-list__item-after {
margin-left: 0;
order: 2;
align-self: flex-end;
margin-top: -$gap-larger;
}

.woocommerce-list__item .woocommerce-list__item-text {
order: 3;
margin-top: $gap;
}

.woocommerce-task-payments__woocommerce-services-options .components-checkbox-control__label {
margin-left: -$gap-larger;
margin-top: -$gap-smaller;
}
}
}

.woocommerce-task-appearance {
Expand Down

0 comments on commit a73cfda

Please sign in to comment.