카테고리 카드의 ‘세련된 스타일링’ 버전에서 이미지가 매우 작아졌습니다

TC가 업데이트된 이후(오늘 업데이트를 적용했습니다) ‘fancy styling’ 버전의 카테고리 카드 이미지가 매우 작아졌습니다. 40px x 40px로 축소된 것으로 보입니다.

이전에는 이 이미지가 카드의 전체 폭을 차지하고 정사각형(수직 공간도 동일하게 차지)이었으나, 지금은 희극적으로 작아졌습니다!

마지막 커밋 이후 추가된 두 커밋의 git diff를 확인해 보았지만, 솔직히 코드베이스에 익숙하지 않아 원인으로 의심되는 부분을 찾지 못했습니다. 단기적으로는 CSS로 수정을 시도하고 있습니다…

혹시 의견이 있으신 분 계신가요? @awesomerobot ?

I have spent some time fiddling with the sizes of the image, the .category-logo .aspect-image container, and that general area of the cards, and I cannot find any change that seems to affect the size of the image. (The only odd thing about my setup is that I used flexbox to allow 4 cards across the page rather than three, but this shouldn’t really affect things - and indeed reverting the flexbox setting doesn’t fix the small images problem)

I experience the same.
It’s because of this Discourse core SCSS:

Until a fix is made, you can override this with this code:

.custom-categories-groups .category-logo img {
    --height: auto !important;
}


:point_down:

Thank you so much @Canapin ! That has fixed it.

이 수정이 기본값이 되어야 합니다

이것은 Discourse에서 “하위 범주가 있는 상자” 스타일에 대한 카테고리 이미지 처리 방식과 일치하므로, 상류(upstream)에서 기본 동작이 변경되지 않는 한 이를 변경할 계획은 없습니다.