Skip to content

Commit

Permalink
Updated to 6% which may have fixed padding top. Commented out marginH…
Browse files Browse the repository at this point in the history
…orizontal to fix search result alignment
  • Loading branch information
r800360 committed Mar 14, 2024
1 parent be37b87 commit de46962
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dfm-sideline-sidekick-app/pages/SearchPageStyles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ const minDimension = Math.min(width, height);
const styles = StyleSheet.create({
container: {
paddingHorizontal: width * 0.05, // 5% of screen width/height
paddingTop: height * 0.05, // 5% of screen width/height
paddingTop: height * 0.06, // 5% of screen width/height
},
listItemContainer: {
flexDirection: "row",
alignItems: "center",
justifyContent: "space-between",
paddingVertical: height * 0.015, // 1.5% of screen width/height
paddingHorizontal: width * 0.04, // 4% of screen width/height
//paddingHorizontal: width * 0.005, // 4% of screen width/height
},
cancelButton: {
paddingLeft: width * 0.02, // 2% of screen width/height
Expand All @@ -24,7 +24,7 @@ const styles = StyleSheet.create({
},
listItemTextContainer: {
flex: 1,
marginRight: 30,
//marginRight: 30,
},
listItemTitle: {
fontSize: 18, //minDimension * 0.06, // 6% of screen width/height
Expand All @@ -51,7 +51,7 @@ const styles = StyleSheet.create({
divider: {
height: 1,
backgroundColor: "lightgrey",
marginHorizontal: width * 0.04, // 4% of screen width/height
//marginHorizontal: width * 0.04, // 4% of screen width/height
marginVertical: height * 0.01, // 1% of screen width/height
},
title: {
Expand Down

0 comments on commit de46962

Please sign in to comment.