오늘 문득,
게시판 카테고리를 수정하다보니 글자도 작고 어디로 이동시켜야 제대로 되는지 몇 번 헤맸습니다.
10년을 넘게 별 불편함을 모르고 있었나 봅니다.
여러분들은 이런 경험 없으신가요?
url : https://eond.com/test2
id : test11@gmail.com
pw : test11
테스트 방법
로그인 후, 게시판 설정 > 분류관리에서 테스트 가능합니다.
ps. 작업한 소스입니다. 필요하신 분은 가져다 쓰세요.
#menu{
.simpleTree{
li{
margin-top: .5rem;
padding-top: .5rem;
border-top: 1px dashed #000;
display: flex;
align-content: center;
justify-content: flex-start;
span{
//display: inline-block;
clear: left;
white-space: nowrap;
padding: .5rem 1rem;
min-width: 6rem;
font-size: 14px;
cursor: pointer !important;
border-radius: 4px;
border: 1px dotted #bbb;
&:hover{
background: #eee;
}
display: flex;
align-items: center;
justify-content: center;
}
a{
padding: .8rem;
border: 1px dotted #999;
margin: 0 .2rem;
border-radius: 4px;
&:hover{
background: #eee;
}
display: flex;
align-items: center;
}
&.line-over,&.line-over-last{
margin-top: 1rem;
//padding: .5rem 0;
background: #eee;
height: .8rem;
}
}
.doc{
}
}
}