fix(twelve-channels): fix card spacing on detail and overview screens
This commit is contained in:
parent
8e73bcad73
commit
91ae140c9f
|
|
@ -488,7 +488,7 @@ export function TwelveChannelsDetailRenderer({
|
||||||
|
|
||||||
{(connecting as ConnectingChannelDetails).empty &&
|
{(connecting as ConnectingChannelDetails).empty &&
|
||||||
(connecting as ConnectingChannelDetails).empty!.length > 0 ? (
|
(connecting as ConnectingChannelDetails).empty!.length > 0 ? (
|
||||||
<View style={[styles.conditionBlock, { marginTop: moderateScale(10) }]}>
|
<View style={styles.conditionBlock}>
|
||||||
<View style={styles.conditionHeader}>
|
<View style={styles.conditionHeader}>
|
||||||
<View style={[styles.conditionDot, { backgroundColor: "#3B82F6" }]} />
|
<View style={[styles.conditionDot, { backgroundColor: "#3B82F6" }]} />
|
||||||
<Text style={styles.conditionTitle}>Empty Condition</Text>
|
<Text style={styles.conditionTitle}>Empty Condition</Text>
|
||||||
|
|
@ -753,7 +753,8 @@ const styles = StyleSheet.create({
|
||||||
container: {
|
container: {
|
||||||
paddingHorizontal: moderateScale(16),
|
paddingHorizontal: moderateScale(16),
|
||||||
paddingTop: verticalScale(14),
|
paddingTop: verticalScale(14),
|
||||||
paddingBottom: verticalScale(36),
|
paddingBottom: verticalScale(40),
|
||||||
|
gap: verticalScale(14),
|
||||||
},
|
},
|
||||||
overviewCard: {
|
overviewCard: {
|
||||||
backgroundColor: "#F0FDF4",
|
backgroundColor: "#F0FDF4",
|
||||||
|
|
@ -761,7 +762,6 @@ const styles = StyleSheet.create({
|
||||||
borderWidth: 1,
|
borderWidth: 1,
|
||||||
borderColor: "#DCFCE7",
|
borderColor: "#DCFCE7",
|
||||||
padding: moderateScale(16),
|
padding: moderateScale(16),
|
||||||
marginBottom: verticalScale(14),
|
|
||||||
},
|
},
|
||||||
overviewHeader: {
|
overviewHeader: {
|
||||||
flexDirection: "row",
|
flexDirection: "row",
|
||||||
|
|
@ -785,7 +785,6 @@ const styles = StyleSheet.create({
|
||||||
borderWidth: 1,
|
borderWidth: 1,
|
||||||
borderColor: "#E5E7EB",
|
borderColor: "#E5E7EB",
|
||||||
padding: moderateScale(14),
|
padding: moderateScale(14),
|
||||||
marginBottom: verticalScale(14),
|
|
||||||
},
|
},
|
||||||
infoHeader: {
|
infoHeader: {
|
||||||
flexDirection: "row",
|
flexDirection: "row",
|
||||||
|
|
@ -891,7 +890,6 @@ const styles = StyleSheet.create({
|
||||||
borderWidth: 1,
|
borderWidth: 1,
|
||||||
borderColor: "#E2E8F0",
|
borderColor: "#E2E8F0",
|
||||||
padding: moderateScale(14),
|
padding: moderateScale(14),
|
||||||
marginBottom: verticalScale(14),
|
|
||||||
},
|
},
|
||||||
summaryHeader: {
|
summaryHeader: {
|
||||||
flexDirection: "row",
|
flexDirection: "row",
|
||||||
|
|
@ -911,13 +909,12 @@ const styles = StyleSheet.create({
|
||||||
lineHeight: moderateScale(19),
|
lineHeight: moderateScale(19),
|
||||||
},
|
},
|
||||||
channelsContainer: {
|
channelsContainer: {
|
||||||
marginTop: verticalScale(10),
|
gap: verticalScale(10),
|
||||||
},
|
},
|
||||||
sectionHeading: {
|
sectionHeading: {
|
||||||
fontSize: moderateScale(16),
|
fontSize: moderateScale(16),
|
||||||
fontWeight: "700",
|
fontWeight: "700",
|
||||||
color: Colors.textPrimary,
|
color: Colors.textPrimary,
|
||||||
marginBottom: verticalScale(12),
|
|
||||||
marginLeft: moderateScale(2),
|
marginLeft: moderateScale(2),
|
||||||
},
|
},
|
||||||
channelRow: {
|
channelRow: {
|
||||||
|
|
@ -930,7 +927,6 @@ const styles = StyleSheet.create({
|
||||||
borderRadius: moderateScale(14),
|
borderRadius: moderateScale(14),
|
||||||
borderWidth: 1,
|
borderWidth: 1,
|
||||||
borderColor: "#E2EAE5",
|
borderColor: "#E2EAE5",
|
||||||
marginBottom: verticalScale(12),
|
|
||||||
},
|
},
|
||||||
pressed: {
|
pressed: {
|
||||||
opacity: 0.72,
|
opacity: 0.72,
|
||||||
|
|
@ -960,7 +956,7 @@ const styles = StyleSheet.create({
|
||||||
color: Colors.textPrimary,
|
color: Colors.textPrimary,
|
||||||
},
|
},
|
||||||
connectingDetailsContainer: {
|
connectingDetailsContainer: {
|
||||||
gap: moderateScale(6),
|
gap: moderateScale(10),
|
||||||
},
|
},
|
||||||
conditionBlock: {
|
conditionBlock: {
|
||||||
backgroundColor: "#F9FAFB",
|
backgroundColor: "#F9FAFB",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue