Commit 1190bfd0ac78dc127e4682b0edef3b38f42efd33
1 parent
e74b0c73
Modify user home css && limit ths max wors show width.
Showing
2 changed files
with
8 additions
and
0 deletions
css/style/userhome.css
@@ -58,6 +58,10 @@ header { | @@ -58,6 +58,10 @@ header { | ||
58 | .user-login .msg p { | 58 | .user-login .msg p { |
59 | font-size: 18px; | 59 | font-size: 18px; |
60 | margin-bottom: 5px; | 60 | margin-bottom: 5px; |
61 | + line-height: 26px; | ||
62 | + height: 26px; | ||
63 | + overflow: hidden; | ||
64 | + max-width: 200px; | ||
61 | } | 65 | } |
62 | .user-login .msg span { | 66 | .user-login .msg span { |
63 | font-size: 14px; | 67 | font-size: 14px; |
css/style/userhome.less
@@ -51,6 +51,10 @@ header { | @@ -51,6 +51,10 @@ header { | ||
51 | .msg p { | 51 | .msg p { |
52 | font-size: 18px; | 52 | font-size: 18px; |
53 | margin-bottom: 5px; | 53 | margin-bottom: 5px; |
54 | + line-height: 26px; | ||
55 | + height: 26px; | ||
56 | + overflow: hidden; | ||
57 | + max-width: 200px; | ||
54 | } | 58 | } |
55 | .msg span { | 59 | .msg span { |
56 | font-size: 14px; | 60 | font-size: 14px; |