Commit 6370a141 authored by Fred Chasen's avatar Fred Chasen

Merge branch 'breaklistjustify' into 'master'

switch style to class for text-align-last

See merge request !67
parents ff07fa86 2f784ca7
......@@ -38,7 +38,7 @@ class Splits extends Handler {
let align = styles["text-align"];
let alignLast = styles["text-align-last"];
if (align === "justify" && alignLast === "auto") {
node.style["text-align-last"] = "justify";
node.classList.add("last-item-justify");
}
}
......
......@@ -557,6 +557,10 @@ img {
height: auto;
}
.last-item-justify {
text-align-last: justify;
}
@media print {
html {
width: 100%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment