Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ function MoreFeatureToggle({icon, title, subtitle, isActive, pendingAction, onTo
<View
style={[
styles.workspaceSectionMoreFeaturesItem,
shouldUseNarrowLayout && styles.flexBasis100,
// Uses width, not flexBasis, since native Yoga caches a flexBasis percentage across rotations.
shouldUseNarrowLayout && [styles.flexBasisAuto, styles.w100],
shouldUseNarrowLayout && StyleUtils.getMinimumWidth(0),
hovered && isActive && !!onPress && styles.hoveredComponentBG,
]}
Expand Down
3 changes: 2 additions & 1 deletion src/pages/workspace/connections/ConnectionCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ function ConnectionCard({listing, shouldUseFullWidth}: ConnectionCardProps) {
styles.workspaceSectionMoreFeaturesItem,
styles.p0,
styles.overflowHidden,
shouldUseFullWidth ? [styles.flexBasis100, StyleUtils.getMinimumWidth(0)] : styles.connectionCard,
// Uses width, not flexBasis, since native Yoga caches a flexBasis percentage across rotations.
shouldUseFullWidth ? [styles.flexBasisAuto, styles.w100, StyleUtils.getMinimumWidth(0)] : styles.connectionCard,
]}
>
<MenuItem
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ function ExactOnlineWaitlistCard({policyID}: ExactOnlineWaitlistCardProps) {
styles.workspaceSectionMoreFeaturesItem,
styles.p0,
styles.overflowHidden,
shouldUseNarrowLayout || isMediumScreenWidth ? [styles.flexBasis100, StyleUtils.getMinimumWidth(0)] : styles.connectionCard,
// Uses width, not flexBasis, since native Yoga caches a flexBasis percentage across rotations.
shouldUseNarrowLayout || isMediumScreenWidth ? [styles.flexBasisAuto, styles.w100, StyleUtils.getMinimumWidth(0)] : styles.connectionCard,
]}
>
<ExactOnlineWaitlistRow
Expand Down
Loading