tweak ublog form style

pull/9768/head
Thibault Duplessis 2021-09-09 17:07:30 +02:00
parent f6a1810ad3
commit b6b2db834d
2 changed files with 7 additions and 2 deletions

View File

@ -24,7 +24,7 @@ object form {
moreJs = frag(jsModule("ublogForm"), captchaTag),
title = s"${trans.ublog.xBlog.txt(user.username)}${trans.ublog.newPost.txt()}"
) {
main(cls := "page-menu")(
main(cls := "page-menu page-small")(
views.html.blog.bits.menu(none, "mine".some),
div(cls := "page-menu__content box box-pad ublog-post-form")(
standardFlash(),
@ -41,7 +41,7 @@ object form {
moreJs = jsModule("ublogForm"),
title = s"${trans.ublog.xBlog.txt(user.username)} blog • ${post.title}"
) {
main(cls := "page-menu")(
main(cls := "page-menu page-small")(
views.html.blog.bits.menu(none, "mine".some),
div(cls := "page-menu__content box box-pad ublog-post-form")(
standardFlash(),

View File

@ -93,6 +93,7 @@
color: $c-font;
}
&-contents {
font-size: 1rem;
& p,
& h2,
& h3,
@ -106,6 +107,10 @@
border: none;
}
}
.ProseMirror {
font-size: 1rem;
padding: 0.8em 1.2em;
}
&-mode-switch {
background: none;
border: none;