git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fb2470
)
word edit: form stylesheet for aligned input fields
author
Mischa POSLAWSKY
<perl@shiar.org>
Sun, 24 May 2020 01:58:41 +0000
(
03:58
+0200)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Sat, 6 Jun 2020 01:49:20 +0000
(
03:49
+0200)
writer.plp
patch
|
blob
|
history
diff --git
a/writer.plp
b/writer.plp
index 73ae3acf3c1bbd51259c6a49eba2e0c847f64be4..b8e5f2d6fa0e245ea47752f3e3c068260031a899 100644
(file)
--- a/
writer.plp
+++ b/
writer.plp
@@
-4,6
+4,25
@@
Html({
title => 'words cheat sheet admin',
version => '1.0',
nocache => 1,
+ raw => <<'EOT',
+<style>
+dd > input {
+ width: 32em;
+ max-width: 100%;
+ padding: 1ex;
+ font-family: monospace;
+}
+dl > dt, dl > dd {
+ float: none;
+ display: inline-block;
+ box-sizing: border-box;
+ width: 50%;
+ margin: 0;
+ line-height: 4ex;
+ vertical-align: text-top;
+}
+</style>
+EOT
});
use List::Util qw( pairs pairkeys );