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

Source display line is "off by one". #7

Open
bitwombat opened this issue Aug 5, 2021 · 1 comment
Open

Source display line is "off by one". #7

bitwombat opened this issue Aug 5, 2021 · 1 comment

Comments

@bitwombat
Copy link

The error in the screenshot is at line 208, but the source display starts on line 209. Not sure if this is Whoops' problem or laminas-whoops'?

image

@Log-SZ
Copy link

Log-SZ commented Aug 14, 2021

Will there be comming a fix?
Thats makes the view useless,
Why are the code line overflow:hidden?

dirty workaround for me is to copy vendor/ppito/laminas-whoops/view/render.phtml, set in config and implement a style block

<style>
.code-block.line-numbers.language-php
{
overflow: auto!important;
}
</style>
<?php echo $result;

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