mirror of
https://github.com/Neetpone/ponepaste.git
synced 2025-03-12 06:30:07 +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 {
|
.captcha_container i {
|
||||||
color: black;
|
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>
|
<p><?= pp_html_escape($error) ?></p>
|
||||||
</div>
|
</div>
|
||||||
<?php elseif ($using_highlighter): ?>
|
<?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']) ?>">
|
<div class="<?= pp_html_escape($paste['code']) ?>">
|
||||||
<ol>
|
<ol>
|
||||||
<?php foreach ($lines as $num => $line):
|
<?php foreach ($lines as $num => $line):
|
||||||
|
@ -201,7 +201,7 @@ $selectedloader = "$bg[$i]"; // set variable equal to which random filename was
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php else: ?>
|
<?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; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<!-- Guests -->
|
<!-- Guests -->
|
||||||
|
|
Loading…
Add table
Reference in a new issue