diff --git a/src/features/content/renderers/details/YuanSourceDetailRenderer.tsx b/src/features/content/renderers/details/YuanSourceDetailRenderer.tsx index 94507df..f10fa2f 100644 --- a/src/features/content/renderers/details/YuanSourceDetailRenderer.tsx +++ b/src/features/content/renderers/details/YuanSourceDetailRenderer.tsx @@ -13,7 +13,7 @@ import { Ionicons } from "@expo/vector-icons"; import { useRouter } from "expo-router"; import { moderateScale, verticalScale } from "react-native-size-matters"; -import { Colors } from "@/theme"; +import { Colors, Radius } from "@/theme"; import { useSettingsStore } from "@/store/settings.store"; import type { DetailRendererProps } from "../../types/renderer.types"; import { useModuleTemplateContentDetailsQuery } from "../../hooks/use-content-queries"; @@ -235,7 +235,7 @@ function PointAccordionCard({ ) : null} - {/* Linkable Point Button (Acupoints style: clean, no emoji/icon) */} + {/* Linkable Point Button (matching standard ReferenceChipList styling) */} {pointLabel ? ( {pointButtonLabel} ) : null} @@ -461,21 +461,22 @@ const styles = StyleSheet.create({ color: "#334155", }, pointLinkButton: { - minHeight: verticalScale(44), - paddingHorizontal: moderateScale(14), - paddingVertical: verticalScale(10), - borderRadius: moderateScale(10), + alignSelf: "flex-start", + minHeight: verticalScale(34), + paddingHorizontal: moderateScale(12), + paddingVertical: verticalScale(6), + borderRadius: Radius.full, backgroundColor: "#E8F5E9", borderWidth: 1, borderColor: "#CDE5D0", flexDirection: "row", alignItems: "center", - justifyContent: "space-between", - marginTop: verticalScale(4), + gap: moderateScale(6), + marginTop: verticalScale(6), }, pointLinkLabel: { - fontSize: 15, - lineHeight: 20, + fontSize: moderateScale(13), + lineHeight: moderateScale(18), fontWeight: "700", color: Colors.primaryDark, },