mirror of
https://github.com/stablyai/orca.git
synced 2026-10-31 00:57:45 +00:00
Improve contrast of mobile Markdown copy buttons (#32844)
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user