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;
display: inline-block;
position: fixed;
right: 155px;
right: 178px;
top: 8px;
background: red;
color: #fff;

View File

@ -44,9 +44,10 @@
</div>
</template>
<el-dropdown class="top-dropdown" style="display: flex;align-items: center;">
<span class="el-dropdown-link" style="font-size: 14px;">
{{ name }}<i class="el-icon-arrow-down el-icon--right" />
<el-dropdown class="top-dropdown" style="display: flex;align-items: center; width:100px;">
<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" />
</span>
<el-dropdown-menu slot="dropdown">
<router-link to="/person-info/index">