Lilly
(Lillian )
1월 20, 2026, 3:22오전
1
개요
이 간단한 테마 컴포넌트는 사이드바의 모든 하위 카테고리를 자동으로 들여쓰기합니다 - 데스크톱, 태블릿, 모바일 뷰포트 크기 모두에서 작동합니다.
인덴트 크기를 변경할 수 있는 설정이 하나 있습니다 - 기본값은 1em이며, 최소값은 0.5em, 최대값은 3em입니다.
설정:
사이드바의 결과 예시 스크린샷:
참고 사항
이 테마 컴포넌트는 단일 레벨 하위 카테고리를 위해 설계되었습니다. 포럼에 하위-하위 카테고리(sub-subcategories)가 활성화되어 있다면, 이 컴포넌트는 깨지거나 최소한 사이드바에서 매우 좋지 않은 모습을 보일 가능성이 높습니다.
이 컴포넌트는 이제 비추천(deprecated) 상태인 Indented / Nested Sidebar Categories or Subcategories 을 대체합니다.
제 다른 Discourse 관련 자료 보기
22개의 좋아요
nice job! It will be wonderful if it can fold or unfold for the parent categories. Is it possible?
1개의 좋아요
Lilly
(Lillian )
2월 2, 2026, 2:38오후
3
no - sorry, but i have no plans to add more options to this component.
1개의 좋아요
nathank
(Nathan Kershaw)
2월 6, 2026, 10:44오후
4
Nice work Lilly - delightfully simple and effective. A marked improvement!!
Also, I love the clear admin notice about it.
2개의 좋아요
It would be useful to have the option to indent on mobile too
nathank
(Nathan Kershaw)
2월 18, 2026, 2:54오후
6
I agree - and hadn’t noticed that it doesn’t until you pointed it out just now!
@Lilly , did the old TC indent on mobile?
2개의 좋아요
Lilly
(Lillian )
2월 19, 2026, 4:34오전
7
i refactored this component and it should work for you on mobile now. let me know if there are issues. edited OP.
6개의 좋아요
tknospdr
(David Muszynski)
2월 20, 2026, 2:28오후
8
What was the thought/reason for deprecating a more full featured component (Nested categories) in favor of this one with less control?
Can I keep using the old one even though it’s deprecated or is it going to eventually break?
1개의 좋아요
Works great - thanks so much Lilly! I can remove my CSS workaround now
1개의 좋아요
Ahah - it indents fine in portrait, but not in landscape (using an iPad)
Lilly
(Lillian )
3월 19, 2026, 12:49오후
11
works on my ipad
let me guess, it’s doing that two-column sidebar view?
Ahah - sorry, forgot to mention my custom CSS forces it to single column on mobile. It works fine in portrait (indented like desktop) but is a plain-flat list in landscape
Lilly
(Lillian )
3월 19, 2026, 2:44오후
13
this is what i see on my iPad in both landscape and portrait views:
i think firefox view was sometimes weird on tablet with 2-columns. i pushed a fix that should force it to use single column all the time.
2개의 좋아요
Ah -it’s working for me now too, sorry! It seems to go “flat” when you rotate the device - but fixes itself if you refresh. Thanks for checking!!
1개의 좋아요