BrianC
(Brian)
1
데스크톱에서 Categories + Latest 뷰가 사용 가능한 화면 전체 폭을 사용하도록 하려고 합니다.
사이트의 다른 부분은 그대로 두면 됩니다 — 카테고리(왼쪽)와 최신 주제(오른쪽)가 있는 이 특정 레이아웃만 고정 폭의 중앙 정렬된 컬럼에 머물지 않고 전체 폭으로 확장되기를 원합니다.
많은 요소의 컨테이너(.wrap, .container, #main-outlet 등)를 오버라이드해 보았지만, 이 특정 뷰는 여전히 제한되어 있습니다. 따라서 이 뷰의 폭을 제어하는 다른 래퍼 또는 그리드가 있는 것으로 보입니다.
Categories + Latest 레이아웃의 폭을 제어하는 올바른 CSS를 알려주실 수 있을까요?
감사합니다.
안녕하세요,
main-outlet-wrapper의 grid 컬럼 레이아웃을 변경하고, 필요에 맞게 --d-max-width 및 --topic-body-width 변수를 조정해야 합니다.
BrianC
(Brian)
4
감사합니다. 이렇게 하면 해결되었습니다.
.badge-category__wrapper .badge-category__name {
font-size: 1.3em;
}
table.category-list {
border: 1px solid #ccc;
border-radius: 6px;
padding: 1rem;
box-sizing: border-box;
border-collapse: separate;
border-spacing: 0;
}
table.category-list thead th {
padding: 0.5rem 0;
border-bottom: 1px solid #e0e0e0;
}
table.category-list tbody tr td {
padding: 0.75rem 0;
border-bottom: 1px solid #e0e0e0;
}
table.category-list tbody tr:last-of-type td {
border-bottom: none;
}
.latest-topic-list {
border: 1px solid #ccc;
border-radius: 6px;
padding: 1rem;
box-sizing: border-box;
}
.latest-topic-list-item {
padding: 0.75rem 0;
border-bottom: 1px solid #e0e0e0;
}
.latest-topic-list-item:last-of-type {
border-bottom: none;
}