mirror of
https://github.com/Neetpone/ponepaste.git
synced 2025-03-11 14:10:06 +01:00
fix: code block wrapping
This commit is contained in:
parent
ec562cef57
commit
8409837689
2 changed files with 7 additions and 2 deletions
|
@ -256,3 +256,8 @@ button.button--no-style {
|
|||
.captcha_container i {
|
||||
color: black;
|
||||
}
|
||||
|
||||
code {
|
||||
overflow-wrap: anywhere;
|
||||
white-space: pre-wrap;
|
||||
}
|
|
@ -188,7 +188,7 @@ $selectedloader = "$bg[$i]"; // set variable equal to which random filename was
|
|||
<p><?= pp_html_escape($error) ?></p>
|
||||
</div>
|
||||
<?php elseif ($using_highlighter): ?>
|
||||
<div id="paste" style="line-height:18px !important;">
|
||||
<div id="paste" style="line-height: 18px;">
|
||||
<div class="<?= pp_html_escape($paste['code']) ?>">
|
||||
<ol>
|
||||
<?php foreach ($lines as $num => $line):
|
||||
|
@ -201,7 +201,7 @@ $selectedloader = "$bg[$i]"; // set variable equal to which random filename was
|
|||
</div>
|
||||
</div>
|
||||
<?php else: ?>
|
||||
<div id="paste" style="line-height:18px !important;"><?= $p_content ?></div>
|
||||
<div id="paste" style="line-height: 18px;"><?= $p_content ?></div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<!-- Guests -->
|
||||
|
|
Loading…
Add table
Reference in a new issue