사용자 페이지에서 열을 제거하는 방법이 있나요?

자, 시작하겠습니다. Discourse가 사용자 디렉터리 구조를 변경하면 이 코드가 깨질 수 있지만, 테이블의 각 요소를 식별할 수 있는 정보가 없는 상황에서 제가 할 수 있는 최선의 방법입니다. 이 코드는 커스텀 테마 컴포넌트의 CSS 부분에 들어가야 합니다.

div.users-directory table th:nth-child(2), 
div.users-directory table th:nth-child(3), 
div.users-directory table th:nth-child(8), 
div.users-directory table td:nth-child(2), 
div.users-directory table td:nth-child(3), 
div.users-directory table td:nth-child(8) {
    display:none;
}

더 잘 쓸 수 있을 것 같은 느낌이 들지만, 잘 작동하는 것 같고 다른 테이블을 깨뜨리는 것 같지는 않습니다.

1개의 좋아요