diff --git a/less/chats.less b/less/chats.less index f63e32e..493fea3 100644 --- a/less/chats.less +++ b/less/chats.less @@ -70,7 +70,8 @@ } } - ul { + .chat-content { + .fix-lists; height: 250px; overflow-y: auto; resize: none; diff --git a/less/mixins.less b/less/mixins.less index fa9e0e0..e3f0449 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -46,4 +46,22 @@ overflow: hidden; text-overflow: ellipsis; white-space: nowrap; +} + +.fix-lists { + ul { + > li { + list-style-type: disc; + + ul > li { + list-style-type: circle; + + ul > li { + list-style-type: square; + } + } + } + + margin-bottom: 10px; + } } \ No newline at end of file diff --git a/less/topic.less b/less/topic.less index 0152acc..9b3dd87 100644 --- a/less/topic.less +++ b/less/topic.less @@ -239,21 +239,7 @@ } .content { - ul { - > li { - list-style-type: disc; - - ul > li { - list-style-type: circle; - - ul > li { - list-style-type: square; - } - } - } - - margin-bottom: 10px; - } + .fix-lists; blockquote { font-size: 85%;