]> git.plutz.net Git - webtxt/blobdiff - webnote.css
Merge commit '0062e5835b9a5aa82e017c446a1bd54f1d9d7e2b'
[webtxt] / webnote.css
index e87795e7bc9fb569328760565fdc6c7b357dcbb6..484cbc7863af87c1d5d9cea60cf05d3337ff732c 100644 (file)
@@ -4,15 +4,18 @@ body {
 button {
   margin-bottom: 1em;
 }
+@media print { button { display: none; }}
 textarea {
   display: block;
+  font-family: monospace;
   width: 100%;
   height: 90vh;
   height: calc(100vh - 4.5em);
 }
 
 div.text {
-  white-space: pre;
+  max-width: 100%;
+  overflow: auto;
 }
 
 form.new {
@@ -22,10 +25,11 @@ form.new {
 
 .new button {
   display: block;
-  margin: auto;
+  margin-left: auto;
+  margin-right: auto;
 }
 
-.recent {
+ul.recent {
   display: inline-block;
   text-align: left;
 }