fix(editor): inline code style (#12585)

Closes: #12576
Closes: [BS-2080](https://linear.app/affine-design/issue/BS-2080/update-inline-code-font-size)

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->

## Summary by CodeRabbit

- **Style**
  - Improved the appearance of code elements within lists by adjusting font size and padding.
  - Updated inline code styling for better vertical alignment and consistency with surrounding text.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
Saul-Mirone
2025-05-28 04:11:02 +00:00
parent d49ecfbecc
commit 88339b4022
2 changed files with 7 additions and 1 deletions
+2 -1
View File
@@ -23,7 +23,8 @@ export function affineTextStyles(
'border-radius': '4px',
color: 'var(--affine-text-primary-color)',
'font-variant-ligatures': 'none',
'line-height': 'auto',
'vertical-align': 'bottom',
'line-height': 'inherit',
};
}