fix: 头部消息数字错位

This commit is contained in:
fit2cloud-chenyw 2021-07-28 18:58:51 +08:00
parent 2be01cfb7b
commit 4a2867ee50
2 changed files with 5 additions and 4 deletions

View File

@ -184,7 +184,7 @@ export default {
line-height: 14px; line-height: 14px;
display: inline-block; display: inline-block;
position: fixed; position: fixed;
right: 155px; right: 178px;
top: 8px; top: 8px;
background: red; background: red;
color: #fff; color: #fff;

View File

@ -44,9 +44,10 @@
</div> </div>
</template> </template>
<el-dropdown class="top-dropdown" style="display: flex;align-items: center;"> <el-dropdown class="top-dropdown" style="display: flex;align-items: center; width:100px;">
<span class="el-dropdown-link" style="font-size: 14px;"> <span class="el-dropdown-link" style="font-size: 14px;max-width: 80px;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;">
{{ name }}<i class="el-icon-arrow-down el-icon--right" /> {{ name }}
<i class="el-icon-arrow-down el-icon--right" />
</span> </span>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<router-link to="/person-info/index"> <router-link to="/person-info/index">