-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
Update main.scss #455
base: master
Are you sure you want to change the base?
Update main.scss #455
Conversation
File preview
Would you please post before/after screenshots? What does it fix? |
@samdark for example, check |
IMO this should be handled in the same way as for PHP code: wrap content in |
@rob006 it's too good idea, but we don't have function/method to do this. |
To do what? |
@rob006 to
need replace only initial tabs\spaces in lines, in any case it's give same result ( |
You can just replace Line 153 in 6b40893
return Html::tag('code', strtr(nl2br(Html::encode($this->content)), [
' ' => ' ',
"\t" => ' ',
])); At least you're sure nothing else is affected by this change (your PR affects all modals - are you sure modals contain only code?) and style is consistent with PHP code (currently proportional font is used for non-PHP code snippets). |
nope, all modals -
wrap in |
Add styles for preview sources