Skip to content

Commit

Permalink
将代码区域显示最大高度改为900,防止没有显示完整
Browse files Browse the repository at this point in the history
  • Loading branch information
guiqibusixin committed Jul 28, 2021
1 parent fdf92f0 commit 654f618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Whoops/Resources/js/whoops.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Zepto(function($) {
// We show more code than needed, purely for proper syntax highlighting
// Let’s hide a big chunk of that code and then scroll the remaining block
$activeFrame.find('.code-block').first().css({
maxHeight: 345,
maxHeight: 900 ,
overflow: 'hidden',
}).scrollTop(999);

Expand Down

0 comments on commit 654f618

Please sign in to comment.