# 카테고리 로고 크기가 관리되지 않습니다

**URL:** https://meta.discourse.org/t/category-logo-sizes-are-uncontrolled/298256
**Category:** Bug
**Created:** [3월 6, 2024, 9:09오후 UTC](https://meta.discourse.org/t/category-logo-sizes-are-uncontrolled/298256 "2024-03-06T21:09:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![RBoy](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@RBoy](https://meta.discourse.org/u/RBoy)
#### Post date: [3월 6, 2024, 9:09오후 UTC](https://meta.discourse.org/t/category-logo-sizes-are-uncontrolled/298256/1 "2024-03-06T21:09:47Z")

</div>

이 문제는 해킹이나 사용자 정의 CSS를 통해 해결할 것이 아니라, 관리자 설정의 일부로 Discourse 측에서 처리해야 하므로 버그로 보고합니다.

`desktop category page style`(데스크톱 카테고리 페이지 스타일)이 `sub categories with featured topics`(하위 카테고리 및 주요 주제)로 설정되어 있을 때, 랜딩 페이지에서 하위 카테고리의 로고들이 일관성 없이 표시됩니다. 로고가 작으면 확대되고, 크면 축소되어 표시될 수 있으며, 로고의 종횡비나 최대 크기를 제어할 방법이 없습니다. 겉보기에 이유 없이 어떤 로고는 매우 크고, 어떤 로고는 작게 표시됩니다(실제 로고 크기와 무관하게). 카테고리 목록을 열면 아이콘 크기가 제어되지만, 위에서 언급한 페이지 표시 설정을 사용할 때 랜딩 페이지에서는 크기가 제어되지 않습니다.

커뮤니티에서 몇 가지 패치/우회책이 제공되었습니다:

> [@카테고리 아이콘 크기 및 링크 카테고리](https://meta.discourse.org/t/category-icon-sizes-link-categories/211777/2?u=rboy):
>
> For the css part of your post I used this on a forum I worked on: .category-logo.aspect-image { max-width: 80px; } Change the number until you’re satisfied with the resize

> [@Shrunken Category Images](https://meta.discourse.org/t/shrunken-category-images/103216/13?u=rboy):
>
> See the category-heading example below: .category-list .category-logo.aspect-image { max-width: 32px; } .category-heading .category-logo.aspect-image { max-width: 32px; }

> [@Shrunken Category Images](https://meta.discourse.org/t/shrunken-category-images/103216/9?u=rboy):
>
> I added the following to your theme’s css to restrict the width of the images in the /categories view to 200px: .category-list .category-logo.aspect-image { max-width: 200px; }

그러나 이러한 방법들은 랜딩 페이지와 카테고리 페이지 등 다양한 페이지에서 문제를 일관되게 해결하지는 못합니다.

더 나은 처리 방식이 필요합니다. 관리자가 메인 페이지나 하위 카테고리 페이지 등에 로고가 표시될 때 최대 크기와/또는 종횡비를 지정할 수 있도록 해야 합니다. 어떤 데스크톱 카테고리 페이지 스타일이 선택되었든 사이트 전반에서 일관된 경험을 제공해야 합니다.

참고: 이 설정은 모바일 및 데스크톱 렌더링 모두에 영향을 미칩니다. `desktop category page style`이 `sub categories with featured topics`로 설정되어 있을 때 모바일과 데스크톱에 대해 별도의 보기 설정을 사용할 수 있으면 좋겠습니다.
