Improve contrast of mobile Markdown copy buttons (#32844)

This commit is contained in:
Jinjing
2026-10-23 11:54:35 -07:00
committed by GitHub
parent 7241fd70cf
commit 385548e9aa
2 changed files with 6 additions and 2 deletions
@@ -81,7 +81,7 @@ export function MarkdownReader({
) : null}
<View style={styles.markdownFloatingActions}>
<Pressable
style={styles.markdownFloatingButton}
style={[styles.markdownFloatingButton, styles.markdownCopyButton]}
onPress={onCopy}
accessibilityRole="button"
accessibilityLabel={
@@ -93,7 +93,7 @@ export function MarkdownReader({
</Text>
</Pressable>
<Pressable
style={styles.markdownFloatingButton}
style={[styles.markdownFloatingButton, styles.markdownCopyButton]}
onPress={onCopyPath}
accessibilityRole="button"
accessibilityLabel="Copy Markdown path"
@@ -142,6 +142,10 @@ export const mobileSessionReviewCommentStyles = StyleSheet.create({
paddingHorizontal: spacing.md,
paddingVertical: spacing.xs
},
markdownCopyButton: {
backgroundColor: colors.bgRaised,
borderWidth: 0
},
markdownKeyboardDismissButton: {
width: 34,
justifyContent: 'center',