mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-17 14:23:32 +01:00
Center the :hi sample
This commit is contained in:
@@ -482,7 +482,7 @@ liberator.registerObserver("load_commands", function ()
|
|||||||
if (!css && !(key && special))
|
if (!css && !(key && special))
|
||||||
{
|
{
|
||||||
let str = template.tabular(["Key", "Sample", "CSS"],
|
let str = template.tabular(["Key", "Sample", "CSS"],
|
||||||
["padding: 0 1em 0 0; vertical-align: top"],
|
["padding: 0 1em 0 0; vertical-align: top", "text-align: center"],
|
||||||
([h.class,
|
([h.class,
|
||||||
<span style={"text-align: center; line-height: 1em;" + h.value + style}>XXX</span>,
|
<span style={"text-align: center; line-height: 1em;" + h.value + style}>XXX</span>,
|
||||||
template.maybeXML(h.value.replace(/\s+/g, "\u00a0")
|
template.maybeXML(h.value.replace(/\s+/g, "\u00a0")
|
||||||
|
|||||||
Reference in New Issue
Block a user