Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
pronist committed Aug 18, 2024
1 parent 54456f3 commit d540cd4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions assets/pug/Mixins/ReplyList.pug
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@ mixin comment(type, replyable=true)
x-html='`댓글보기(${children.length})`')

mixin replyList(type, rType, reverse=false)
#{`s_${type}_container`}
#comments(class='mt-12')
ol.comments(class='flex gap-y-5' class=reverse ? 'flex-col-reverse' : 'flex-col')
#comments(class='mt-12')
#{`s_${type}_container`}
ul.comments(class='flex gap-y-5' class=reverse ? 'flex-col-reverse' : 'flex-col')
#{`s_${type}_rep`}
li.comment(
x-data='{ open: ! skinOptions.foldableReply, children: [] }'
:class='{ "[&>.wrap]:before:hidden": children.length === 0 }'
class='flex flex-col gap-y-5 border-b border-h-300 dark:border-h-600 pb-5')
+comment(type)
#{`s_${rType}_container`}
ol.replies(
ul.replies(
x-show='open'
x-init='children = $el.querySelectorAll(".reply")'
class='flex flex-col gap-y-5')
Expand Down
2 changes: 1 addition & 1 deletion views/Indicator.pug
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#indicator(
@scroll.window='$store.indicator.indicate'
class='fixed top-0 w-full z-30')
.bg-bar(
.bar(
:style='{ width: $store.indicator.scrolled + "%" }'
class='w-0 h-0.5 rounded bg-h-800 dark:bg-h-200')

Expand Down

0 comments on commit d540cd4

Please sign in to comment.