-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
I noticed when posting with the default mono font, it doesn't follow the alignment of posts that you see written through the web interface, or the other font options of the wf cli. Using mono in the web interface aligns correctly, however. The only offender is when using the default mono option in the cli.
It kinda looks like this...
all-other-posts
cli-mono-post
all-other-posts
My hacky fix was to edit the write.css file with the following to the end.
body#collection article.h-entry.mono {
max-width: 40em !important;
margin: 0 auto;
}
/* Post and subpage views use 40rem */
body#post article.h-entry.mono,
body#subpage article.h-entry.mono {
max-width: 40rem !important;
margin: 0 auto;
}This forces the cli-written mono post to align just like all the posts.
But this inconsistency would be better handled in the pre-compiled code, which is why I am putting this issue here.
Metadata
Metadata
Assignees
Labels
No labels