Skip to content

Commit 3d68faa

Browse files
authored
fix: callControls styling issue (#1689)
### Overview `CallControlls` styling issue for landscape mode where the buttons are not properly positioned. Before: <img src="https://github.com/user-attachments/assets/facd83ce-e8e4-438a-bd3e-9fad4c653003" alt="ios-after" width="440" height="200"/> After: <img src="https://github.com/user-attachments/assets/81c6129a-5e03-43d3-9b6b-69dcd5bc1da3" alt="ios-after" width="440" height="200"/>
1 parent df79fbe commit 3d68faa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native-sdk/src/components/Call/CallControls/CallControls.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const CallControls = ({
3232
theme: { colors, callControls },
3333
} = useTheme();
3434
const landscapeStyles: ViewStyle = {
35-
flexDirection: landscape ? 'column-reverse' : 'row',
35+
flexDirection: 'row',
3636
paddingHorizontal: landscape ? 12 : 0,
3737
paddingVertical: landscape ? 0 : 12,
3838
};

0 commit comments

Comments
 (0)