post form style fixed

merge-requests/208/head
fatchan 5 years ago
parent 2a2f00e606
commit e631b6f026
  1. 10
      static/css/style.css
  2. 25
      views/mixins/post.pug

@ -46,8 +46,16 @@ input textares {
margin-left: 0;
}
.post-info {
}
.post-image {
display: block;
}
.post-content {
}
.navbar {

@ -1,14 +1,17 @@
mixin post(board, post)
div(class='post-container '+(post.thread ? '' : 'op'))
span #{post.subject}
span , #{post.author}
span , #{post.date.toLocaleString()}
span , Post
if post.thread == null
a(href=`/${board._id}/thread/${post._id}`) ##{post._id}
else
a(href=`/${board._id}/thread/${post.thread}#${post._id}`) ##{post._id}
.post-info
span #{post.subject}
span #{post.author}
span #{post.date.toLocaleString()}
span Post
if post.thread == null
a(href=`/${board._id}/thread/${post._id}`) ##{post._id}
else
a(href=`/${board._id}/thread/${post.thread}#${post._id}`) ##{post._id}
if post.file
a(href='/img/'+post.file)
img.post-image(src='/img/thumb-'+post.file)
p(style='white-space: pre-wrap;') #{post.content}
.post-image
a(href='/img/'+post.file)
img(src='/img/thumb-'+post.file)
.post-content
p(style='white-space: pre-wrap;') #{post.content}

Loading…
Cancel
Save