mirror of
https://github.com/Neetpone/ponepaste.git
synced 2025-03-12 14:40:09 +01:00
Fixed Pastedown bugs
Fix bug on Pastedown where text broke through it's container. Fix mobile responsive bug where containers where remaining full size. Changes to UI
This commit is contained in:
parent
755bf5fe5d
commit
4de5e5dafa
2 changed files with 30 additions and 4 deletions
|
@ -17,6 +17,13 @@
|
||||||
color: #bfbfbf;
|
color: #bfbfbf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* For future use
|
||||||
|
.li1 {
|
||||||
|
padding-left: 0.5em;
|
||||||
|
text-indent: -0.5em;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
.theme-switch-wrapper {
|
.theme-switch-wrapper {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -105,8 +112,27 @@ input:checked + .slider:before {
|
||||||
padding: 20px;
|
padding: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 600px) {
|
||||||
.panel {
|
.panel {
|
||||||
background-color: white;
|
background-color: #ffffff;
|
||||||
|
border: none !important;
|
||||||
|
border-style: none !important;
|
||||||
|
padding: 0px !important;
|
||||||
|
border-width: 0px !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.panel {
|
||||||
|
background-color: #ffffff;
|
||||||
|
border: #eeeeee;
|
||||||
|
border-style: solid;
|
||||||
|
padding: 10px;
|
||||||
|
border-width: 2px;
|
||||||
|
box-shadow: 5px 10px #eee;
|
||||||
|
word-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tool-icon {
|
.tool-icon {
|
||||||
|
|
|
@ -218,7 +218,7 @@ $selectedloader = "$bg[$i]"; // set variable equal to which random filename was
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- Tag display -->
|
<!-- Tag display -->
|
||||||
<div class="columns is-desktop is-centered">
|
<div class="columns is-desktop is-centered">
|
||||||
<?php
|
<?php
|
||||||
$tags = $paste['tags'];
|
$tags = $paste['tags'];
|
||||||
|
@ -232,7 +232,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:1!important;">
|
<div id="paste" style="line-height:18px !important;">
|
||||||
<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):
|
||||||
|
@ -245,7 +245,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:1!important;"><?= $p_content ?></div>
|
<div id="paste" style="line-height:18px !important;"><?= $p_content ?></div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<!-- Guests -->
|
<!-- Guests -->
|
||||||
|
|
Loading…
Add table
Reference in a new issue