Skip to content

Commit

Permalink
Add empty list style
Browse files Browse the repository at this point in the history
  • Loading branch information
pronist committed Jul 16, 2024
1 parent 03783a5 commit 97fc58c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions views/Main/List.pug
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
s_list
#list(
x-data='{ listStyle: "[##_list_style_##]" }'
x-init='$store.header.title = "[##_list_conform_##]"'
data-list-style='[##_list_style_##]')
:data-list-style='listStyle')
s_list_rep
+index('list_rep')
s_list_empty
#empty(class='rounded-sm text-center p-6 text-h-800 dark:text-h-200 bg-h-200 dark:bg-h-700')
.txt(class='text-lg font-bold') ๊ฒŒ์‹œ๊ธ€์„ ์ฐพ์„ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.
#empty(
x-init='listStyle = "empty"'
class='rounded-sm text-center p-6 text-h-800 dark:text-h-200 bg-h-200 dark:bg-h-700')
.txt(class='font-bold') ๊ฒŒ์‹œ๊ธ€์„ ์ฐพ์„ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.
.desc ๊ฒ€์ƒ‰์–ด๋ฅผ ๋‹ค์‹œ ์ž…๋ ฅํ•˜๊ฑฐ๋‚˜ ๋‹ค๋ฅธ ์นดํ…Œ๊ณ ๋ฆฌ๋กœ ์ด๋™ํ•ด๋ณด์„ธ์š”.

style
Expand All @@ -16,6 +19,7 @@ style
#tt-body-tag,
#tt-body-search {
#global-header ~ .post,
[data-list-style=empty],
[data-list-style=gallery],
[data-list-style=list],
[data-list-style=grid],
Expand Down

0 comments on commit 97fc58c

Please sign in to comment.