Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
house-type
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangjiankun
house-type
Commits
08598ae0
Commit
08598ae0
authored
Aug 19, 2020
by
xingyuji
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into 'master'
fix:修复头像与搜索框错位的问题 See merge request
!50
parents
b206df9f
6fc39822
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
7 deletions
+5
-7
index.vue
src/components/Layout/index.vue
+5
-7
No files found.
src/components/Layout/index.vue
View file @
08598ae0
...
@@ -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;
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment