Commit 08598ae0 authored by xingyuji's avatar xingyuji

Merge branch 'develop' into 'master'

fix:修复头像与搜索框错位的问题

See merge request !50
parents b206df9f 6fc39822
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
class="hamburger-container" class="hamburger-container"
/> />
<breadcrumb /> <breadcrumb />
<div style="width: 100%;position: absolute;right: 163px;"> <div style="width: 100%">
<async-search class="main-search"></async-search> <async-search class="main-search"></async-search>
</div> </div>
<el-dropdown class="avatar-container" trigger="click"> <el-dropdown class="avatar-container" trigger="click">
...@@ -208,13 +208,14 @@ export default { ...@@ -208,13 +208,14 @@ export default {
height: 50px; height: 50px;
display: inline-block; display: inline-block;
margin: 0 15px margin: 0 15px
position: absolute;
right: 35px;
.avatar-wrapper { .avatar-wrapper {
cursor: pointer; cursor: pointer;
margin-top: 5px; margin-top: 5px;
position: relative; position: relative;
line-height: initial; line-height: initial;
display flex;
align-items flex-end
white-space nowrap
.svg-icon { .svg-icon {
width: 40px; width: 40px;
height: 40px; height: 40px;
...@@ -222,12 +223,9 @@ export default { ...@@ -222,12 +223,9 @@ export default {
.user-avatar { .user-avatar {
width: 40px; width: 40px;
height: 40px; height: 40px;
border-radius: 10px; border-radius: 50%;
} }
.el-icon-caret-bottom { .el-icon-caret-bottom {
position: absolute;
right: -10px;
top: 25px;
font-size: 12px; font-size: 12px;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment