Skip to content

Commit

Permalink
💄 Fix HStack/VStack CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
stracker-phil committed Jan 27, 2025
1 parent 3dc7f09 commit 7f260b6
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
@import './reusable-components/button';
@import './reusable-components/elements';
@import './reusable-components/fields';
@import './reusable-components/hstack';
@import './reusable-components/navigation';
@import './reusable-components/onboarding-header';
@import './reusable-components/payment-method-icons';
Expand All @@ -16,6 +15,7 @@
@import './reusable-components/settings-toggle-block';
@import './reusable-components/settings-wrapper';
@import './reusable-components/spinner-overlay';
@import './reusable-components/stack';
@import './reusable-components/tab-navigation';
@import './reusable-components/title-badge';
@import './reusable-components/welcome-docs';

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.ppcp-r-app {
.components-flex {
display: flex;
-webkit-box-align: stretch;
align-items: stretch;
-webkit-box-pack: center;
}

.components-flex.components-h-stack,
.ppcp--horizontal {
flex-direction: row;
align-items: center;
}

.ppcp--horizontal {
justify-content: space-between;
}

.components-flex.components-v-stack {
flex-direction: column;
justify-content: center;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@
overflow: hidden;
text-overflow: ellipsis;
}

// Fix layout for checkboxes inside a flex-stack.
.components-checkbox-control > .components-base-control__field > .components-flex {
flex-direction: row;
gap: 12px;
}

0 comments on commit 7f260b6

Please sign in to comment.