PC端的部分适配
This commit is contained in:
@@ -322,13 +322,18 @@ export const chatScreenStyles = StyleSheet.create({
|
||||
inputContainer: {
|
||||
backgroundColor: colors.background.paper,
|
||||
borderWidth: 1,
|
||||
borderColor: `${colors.divider}88`,
|
||||
borderColor: colors.divider,
|
||||
borderRadius: 24,
|
||||
marginHorizontal: 14,
|
||||
marginBottom: 12,
|
||||
paddingHorizontal: spacing.sm,
|
||||
paddingVertical: spacing.sm,
|
||||
...shadows.lg,
|
||||
// 移除明显的阴影效果,改用更微妙的边框
|
||||
shadowColor: 'transparent',
|
||||
shadowOffset: { width: 0, height: 0 },
|
||||
shadowOpacity: 0,
|
||||
shadowRadius: 0,
|
||||
elevation: 0,
|
||||
},
|
||||
inputInner: {
|
||||
flexDirection: 'row',
|
||||
@@ -338,6 +343,12 @@ export const chatScreenStyles = StyleSheet.create({
|
||||
paddingHorizontal: spacing.xs,
|
||||
paddingVertical: 4,
|
||||
minHeight: 44,
|
||||
// 移除阴影效果
|
||||
shadowColor: 'transparent',
|
||||
shadowOffset: { width: 0, height: 0 },
|
||||
shadowOpacity: 0,
|
||||
shadowRadius: 0,
|
||||
elevation: 0,
|
||||
},
|
||||
inputInnerMuted: {
|
||||
backgroundColor: '#F0F0F0',
|
||||
@@ -395,6 +406,12 @@ export const chatScreenStyles = StyleSheet.create({
|
||||
paddingHorizontal: spacing.xs,
|
||||
maxHeight: 100,
|
||||
justifyContent: 'center',
|
||||
// 移除阴影
|
||||
shadowColor: 'transparent',
|
||||
shadowOffset: { width: 0, height: 0 },
|
||||
shadowOpacity: 0,
|
||||
shadowRadius: 0,
|
||||
elevation: 0,
|
||||
},
|
||||
input: {
|
||||
fontSize: 16,
|
||||
|
||||
Reference in New Issue
Block a user