diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index b0939cf..68f6fbf 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -33,20 +33,20 @@ li { display: flex; -ms-flex-direction: row; flex-direction: row; - align-items: flex-start; + align-items: center; + justify-content: space-between; } -.header .title { - flex: 90%; -} - -.logout-wrapper { - +@media screen and (max-width:768px) { + .comment-main { + padding: 1rem; + } } .comment-main{ padding: 1rem 5rem; } + .vhead { padding-bottom: 0.5rem; } @@ -70,6 +70,7 @@ li { .vcomment { line-height: 1.8; + word-wrap: break-word; } .vcard { @@ -103,7 +104,7 @@ li { -ms-flex-direction: column; flex-direction: column; padding: 1rem 2rem; - width: 350px; + width: 320px; border: 1px solid #dae1e3; background: #f8fbfd; border-radius: 5px; diff --git a/views/comments.ejs b/views/comments.ejs index 2e785da..45a7c9e 100644 --- a/views/comments.ejs +++ b/views/comments.ejs @@ -3,6 +3,7 @@ <%= title %> +
diff --git a/views/error.ejs b/views/error.ejs index bbd2765..e71296b 100644 --- a/views/error.ejs +++ b/views/error.ejs @@ -3,6 +3,7 @@ Error +

<%= message %>

diff --git a/views/sign-up.ejs b/views/sign-up.ejs index bf42971..74874a9 100644 --- a/views/sign-up.ejs +++ b/views/sign-up.ejs @@ -3,6 +3,7 @@ LeanCloud评论管理 +