Skip to content

Commit

Permalink
Center buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
duogenesis committed Oct 21, 2023
1 parent f60430e commit 8021a35
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion components/image-carousel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import {
import { isMobile } from '../util/util';
import { ImageOrSkeleton } from './profile-card';
import { ChevronLeft, ChevronRight } from "react-native-feather";
import Ionicons from '@expo/vector-icons/Ionicons';

const ImageCarousel = ({
uuids,
Expand Down Expand Up @@ -182,12 +181,22 @@ const styles = StyleSheet.create({
backgroundColor: 'black',
borderRadius: 999,
marginLeft: 5,
paddingLeft: 3,
height: 50,
width: 50,
justifyContent: 'center',
alignItems: 'flex-start',
},
rightButton: {
opacity: 0.6,
backgroundColor: 'black',
borderRadius: 999,
marginRight: 5,
paddingRight: 3,
height: 50,
width: 50,
justifyContent: 'center',
alignItems: 'flex-end',
},
});

Expand Down

0 comments on commit 8021a35

Please sign in to comment.