Implemented most of the styles in scarlet now
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
component Thread(thread *arn.Thread, posts []*arn.Post)
|
||||
h2.thread-title= thread.Title
|
||||
|
||||
.thread
|
||||
h2.thread-title= thread.Title
|
||||
|
||||
.posts
|
||||
Postable(thread.ToPostable(), nil, thread.Author().ID)
|
||||
|
||||
|
16
pages/threads/threads.scarlet
Normal file
16
pages/threads/threads.scarlet
Normal file
@ -0,0 +1,16 @@
|
||||
.thread
|
||||
horizontal
|
||||
justify-content center
|
||||
|
||||
.posts
|
||||
vertical
|
||||
width 100%
|
||||
max-width 830px
|
||||
|
||||
.post
|
||||
vertical
|
||||
margin-bottom 1rem
|
||||
|
||||
> 600px
|
||||
.post
|
||||
horizontal
|
Reference in New Issue
Block a user