Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
052622a3
Commit
052622a3
authored
Nov 18, 2018
by
Harry Kiselev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix profile_header bottom margin, #51807.
parent
56186063
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
app/assets/stylesheets/pages/profile.scss
app/assets/stylesheets/pages/profile.scss
+1
-1
app/views/users/show.html.haml
app/views/users/show.html.haml
+5
-5
No files found.
app/assets/stylesheets/pages/profile.scss
View file @
052622a3
...
@@ -222,7 +222,7 @@
...
@@ -222,7 +222,7 @@
}
}
.profile-header
{
.profile-header
{
margin
:
0
auto
;
margin
:
0
$gl-padding
10px
;
.avatar-holder
{
.avatar-holder
{
width
:
90px
;
width
:
90px
;
...
...
app/views/users/show.html.haml
View file @
052622a3
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
=
link_to
avatar_icon_for_user
(
@user
,
400
),
target:
'_blank'
,
rel:
'noopener noreferrer'
do
=
link_to
avatar_icon_for_user
(
@user
,
400
),
target:
'_blank'
,
rel:
'noopener noreferrer'
do
=
image_tag
avatar_icon_for_user
(
@user
,
90
),
class:
"avatar s90"
,
alt:
''
=
image_tag
avatar_icon_for_user
(
@user
,
90
),
class:
"avatar s90"
,
alt:
''
.user-info
.prepend-left-default.append-right-default
.user-info
.cover-title
.cover-title
=
@user
.
name
=
@user
.
name
...
@@ -81,10 +81,10 @@
...
@@ -81,10 +81,10 @@
=
icon
(
'briefcase'
)
=
icon
(
'briefcase'
)
=
@user
.
organization
=
@user
.
organization
-
if
@user
.
bio
.
present?
-
if
@user
.
bio
.
present?
.cover-desc
.cover-desc
%p
.profile-user-bio
%p
.profile-user-bio
=
@user
.
bio
=
@user
.
bio
-
unless
profile_tabs
.
empty?
-
unless
profile_tabs
.
empty?
.scrolling-tabs-container
.scrolling-tabs-container
...
...
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