提交 ea0a606a 编写于 作者: D devil

web端首页轮播右侧用户名溢出处理

上级 19e3b265
......@@ -45,7 +45,7 @@
<img src="{{if !empty($user['avatar'])}}{{$user.avatar}}{{else /}}{{$attachment_host}}/static/{{$module_name}}/{{$default_theme}}/images/default-user-avatar.jpg{{/if}}" class="user-avatar" />
</a>
<em>
<span class="s-name">
<span class="s-name am-text-truncate">
{{if !empty($user)}}
<em>Hi,</em>
{{if !empty($user['icon'])}}
......
......@@ -156,7 +156,7 @@ text-align: center;float:none}
.mod-vip{ display: block; padding: 10px; }
.m-baseinfo{position: relative;margin-bottom: 10px;}
.m-baseinfo img.user-avatar {display: block;width: 50px;height: 50px;border-radius: 50px;}
.m-baseinfo em span {position: absolute;top:15px;left:60px;font-size: 12px;color: #3C3C3C;}
.m-baseinfo em span {position: absolute;top:15px;left:60px;font-size: 12px;color: #3C3C3C;width: 140px;}
.member-login .btn{width:48%;height: 25px;display: inline-block;line-height: 25px;text-align: center;}
.member-login .btn:hover { color: #fff !important; text-decoration: none; }
.member-login{overflow: hidden;height:25px;text-align: center;}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册