small fixes

This commit is contained in:
teldra 2022-03-27 20:39:19 +02:00
parent e2dc5002d8
commit 0bde3b1f6b
3 changed files with 7 additions and 2 deletions

View File

@ -156,6 +156,11 @@ article h3 {
margin-bottom: 1rem;
}
.result {
-webkit-user-select: all;
user-select: all;
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {...}

View File

@ -25,7 +25,7 @@
{{ partial "tools/submit" }}
</form>
<div id='display' class="f" style="white-space: pre;"></div>
<div id='display' class="result" style="white-space: pre;"></div>
<script defer language="javascript" type="text/javascript" src="{{ "/js/visibleIf.js" | urlize | relURL }}"></script>
<script defer language="javascript" type="text/javascript" src="{{ "/js/generator.js" | urlize | relURL }}"></script>

View File

@ -77,7 +77,7 @@ function showInput(e) {
if (title && content) {
display.innerHTML += "<div>";
display.innerHTML += "<div id=\"result\">";
display.innerHTML += "---<br>";
display.innerHTML += "title: \"" + title + "\"<br>";
display.innerHTML += "date: \"" + datestring + "<br>";