Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Can not format code inline #133

Open
TungNguyen-C4U opened this issue Jan 3, 2025 · 5 comments
Open

[Bug] Can not format code inline #133

TungNguyen-C4U opened this issue Jan 3, 2025 · 5 comments

Comments

@TungNguyen-C4U
Copy link

Code format text can not stay inline, can you please update this?

Screenshot_20250103_080739_DataDude.jpg

@hunghg255
Copy link
Owner

hunghg255 commented Jan 3, 2025

@TungNguyen-C4U I think this related to your style
Screenshot 2025-01-03 at 08 41 08

you want to try

p > code {
   display: inline;
}

pre > code {
   display: block;
}

@TungNguyen-C4U
Copy link
Author

Hi, sorry for not giving a clear description. What i mean is the code formatting, not the codeblock component

Screenshot_20250103_085523_DataDude.jpg

I tried to implement this in the mobile

@hunghg255
Copy link
Owner

You mean when you use code format. it not display inline style.

@TungNguyen-C4U
Copy link
Author

Yes @hunghg255

@hunghg255
Copy link
Owner

Yes @hunghg255

you should check global style, I think somewhere there is style code { display: block } so it doesn't display inline as you want

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants