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:
@@ -40,6 +40,11 @@ export const listBlockStyles = css`
|
||||
font-size: var(--affine-font-base);
|
||||
}
|
||||
|
||||
affine-list code {
|
||||
font-size: calc(var(--affine-font-base) - 3px);
|
||||
padding: 0px 4px 2px;
|
||||
}
|
||||
|
||||
.affine-list-block-container {
|
||||
box-sizing: border-box;
|
||||
border-radius: 4px;
|
||||
|
||||
Reference in New Issue
Block a user