스킨 옵션 [ 단락 앞 뒤 공백 ] 을 체크했으나 여백이 자동으로 생기지 않는 문제

Tistory/전달 사항 2021. 5. 24.

티스토리에서 내부 소스를 변경해 여백이 생기지 않는 문제가 발생하였습니다.
대부분의 제 스킨은 아래 안내를 따라 수정하면 해결이 됩니다.

html에서 myo-paragraph 검색 후 아래 예제와 같이 .text-item 우측에 .contents_style 을 삽입합니다.

/* 이 소스를 */
.text-item>*:not(:last-child),
.text-item>*:not(.tt_article_useless_p_margin):not(:last-child),
.text-item p:not(:last-child),
.text-item .moreless-content>*:not(:last-child),
.text-item .moreless_content .more-txt>*:not(:last-child),
.text-item .tx-quote-tistory>*:not(:last-child) {
    margin-bottom: 1em;
}

/* .text-item 우측에 .contents_style 을 삽입하여 아래와 같게 만듭니다 */
.text-item .contents_style>*:not(:last-child),
.text-item .contents_style>*:not(.tt_article_useless_p_margin):not(:last-child),
.text-item .contents_style p:not(:last-child),
.text-item .contents_style .moreless-content>*:not(:last-child),
.text-item .contents_style .moreless_content .more-txt>*:not(:last-child),
.text-item .contents_style .tx-quote-tistory>*:not(:last-child) {
    margin-bottom: 1em;
}

위와 같은 소스를 찾을 수 없는 경우 해당 스킨 전용 페이지에 문의 남겨주세요. 😀

728x90
반응형