File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 33 < head >
44 < meta charset ="utf-8 ">
55 < title > Vue.js HN Clone</ title >
6- < meta name ="viewport " content ="initial-scale=1, maximum-scale=1, user-scalable=no ">
6+ < meta name ="viewport " content ="initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui ">
77 < link rel ="icon " href ="static/logo.png " type ="image/x-icon ">
88 </ head >
99 < body >
Original file line number Diff line number Diff line change 55 <a :href =" '#/user/' + comment.by" >{{comment.by}}</a >
66 {{comment.time | fromNow}} ago
77 </div >
8- <div class =" comment-content" v-show =" open" >
8+ <p class =" comment-content" v-show =" open" >
99 {{{comment.text}}}
10- </div >
10+ </p >
1111 <ul class =" child-comments" v-if =" comment.kids" v-show =" open" >
1212 <comment v-for =" comment in childComments" :comment =" comment" ></comment >
1313 </ul >
@@ -54,6 +54,7 @@ module.exports = {
5454
5555.comment-content
5656 margin 0 0 16px 24px
57+ word-wrap break-word
5758 code
5859 white-space pre-wrap
5960
You can’t perform that action at this time.
0 commit comments