Menu would be out of order if the menu title longer
Closed this issue · 4 comments
graycreate commented
zhe commented
Hi @ghuiii, are you really using this looooooooong word to describe your feelings? 😂
Back to this issue, I didn't set a width to .nav
to keep it fluid. I'm not sure how wide the user will need for this nav, 70 or 80px? To quick fix it, I would set a width to the outer div
, say 80px, and make the ul
text-overflow: ellipsis
.
.nav-list {
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
What do you say?
graycreate commented
Not really!
But it's normal to use some like “读书笔记”,“个人感受”…… Then Slim will not work well.
zhe commented