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!.length > 0 ? (
|
||||
<View style={[styles.conditionBlock, { marginTop: moderateScale(10) }]}>
|
||||
<View style={styles.conditionBlock}>
|
||||
<View style={styles.conditionHeader}>
|
||||
<View style={[styles.conditionDot, { backgroundColor: "#3B82F6" }]} />
|
||||
<Text style={styles.conditionTitle}>Empty Condition</Text>
|
||||
|
|
@ -753,7 +753,8 @@ const styles = StyleSheet.create({
|
|||
container: {
|
||||
paddingHorizontal: moderateScale(16),
|
||||
paddingTop: verticalScale(14),
|
||||
paddingBottom: verticalScale(36),
|
||||
paddingBottom: verticalScale(40),
|
||||
gap: verticalScale(14),
|
||||
},
|
||||
overviewCard: {
|
||||
backgroundColor: "#F0FDF4",
|
||||
|
|
@ -761,7 +762,6 @@ const styles = StyleSheet.create({
|
|||
borderWidth: 1,
|
||||
borderColor: "#DCFCE7",
|
||||
padding: moderateScale(16),
|
||||
marginBottom: verticalScale(14),
|
||||
},
|
||||
overviewHeader: {
|
||||
flexDirection: "row",
|
||||
|
|
@ -785,7 +785,6 @@ const styles = StyleSheet.create({
|
|||
borderWidth: 1,
|
||||
borderColor: "#E5E7EB",
|
||||
padding: moderateScale(14),
|
||||
marginBottom: verticalScale(14),
|
||||
},
|
||||
infoHeader: {
|
||||
flexDirection: "row",
|
||||
|
|
@ -891,7 +890,6 @@ const styles = StyleSheet.create({
|
|||
borderWidth: 1,
|
||||
borderColor: "#E2E8F0",
|
||||
padding: moderateScale(14),
|
||||
marginBottom: verticalScale(14),
|
||||
},
|
||||
summaryHeader: {
|
||||
flexDirection: "row",
|
||||
|
|
@ -911,13 +909,12 @@ const styles = StyleSheet.create({
|
|||
lineHeight: moderateScale(19),
|
||||
},
|
||||
channelsContainer: {
|
||||
marginTop: verticalScale(10),
|
||||
gap: verticalScale(10),
|
||||
},
|
||||
sectionHeading: {
|
||||
fontSize: moderateScale(16),
|
||||
fontWeight: "700",
|
||||
color: Colors.textPrimary,
|
||||
marginBottom: verticalScale(12),
|
||||
marginLeft: moderateScale(2),
|
||||
},
|
||||
channelRow: {
|
||||
|
|
@ -930,7 +927,6 @@ const styles = StyleSheet.create({
|
|||
borderRadius: moderateScale(14),
|
||||
borderWidth: 1,
|
||||
borderColor: "#E2EAE5",
|
||||
marginBottom: verticalScale(12),
|
||||
},
|
||||
pressed: {
|
||||
opacity: 0.72,
|
||||
|
|
@ -960,7 +956,7 @@ const styles = StyleSheet.create({
|
|||
color: Colors.textPrimary,
|
||||
},
|
||||
connectingDetailsContainer: {
|
||||
gap: moderateScale(6),
|
||||
gap: moderateScale(10),
|
||||
},
|
||||
conditionBlock: {
|
||||
backgroundColor: "#F9FAFB",
|
||||
|
|
|
|||
Loading…
Reference in New Issue