diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2016-11-30 01:08:54 +0000 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2016-11-30 01:08:54 +0000 |
commit | 32f6e444cd879f439d7f08293754762b748b85bf (patch) | |
tree | f528090a8bd467594a4100305d14a9882a64df4b | |
parent | 3460359514e2a97d54ed691a8c37e6e7b86222a8 (diff) | |
parent | 34c550b054c77699d795cec1daf90b23b2fb7ba5 (diff) | |
download | gitlab-ce-32f6e444cd879f439d7f08293754762b748b85bf.tar.gz |
Merge branch '24999-fix-project-avatar-alignment' into 'master'
Fix the width of project avatars in order to adjust alignment within their container element
## What does this MR do?
Adjusts the width of project avatars in order to fix their alignment within the container elements.
## Are there points in the code the reviewer needs to double check?
To make sure there are no unintentional styles changes on unrelated elements.
## Why was this MR needed?
To fix the issue seen below.
## Screenshots (if relevant)
Before: ![Screen_Shot_2016-11-26_at_3.55.58_PM](/uploads/c0012ee7bb5f9e83af41190f71f030fa/Screen_Shot_2016-11-26_at_3.55.58_PM.png)
After: ![Screen_Shot_2016-11-26_at_3.56.17_PM](/uploads/c1236216382e6baa094570c17565e8cf/Screen_Shot_2016-11-26_at_3.56.17_PM.png)
Affected pages: ![Screen_Shot_2016-11-26_at_4.12.38_PM](/uploads/8db6d86a5998843e7b7a755fb4000add/Screen_Shot_2016-11-26_at_4.12.38_PM.png)
## What are the relevant issue numbers?
Closes #24999
See merge request !7772
-rw-r--r-- | app/assets/stylesheets/framework/avatar.scss | 1 | ||||
-rw-r--r-- | changelogs/unreleased/24999-fix-project-avatar-alignment.yml | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/stylesheets/framework/avatar.scss b/app/assets/stylesheets/framework/avatar.scss index ad0d387067f..c0dd1cb3667 100644 --- a/app/assets/stylesheets/framework/avatar.scss +++ b/app/assets/stylesheets/framework/avatar.scss @@ -80,6 +80,7 @@ border-radius: 0; border: none; height: auto; + width: 100%; margin: 0; align-self: center; } diff --git a/changelogs/unreleased/24999-fix-project-avatar-alignment.yml b/changelogs/unreleased/24999-fix-project-avatar-alignment.yml new file mode 100644 index 00000000000..7af812e7359 --- /dev/null +++ b/changelogs/unreleased/24999-fix-project-avatar-alignment.yml @@ -0,0 +1,4 @@ +--- +title: Adjust the width of project avatars to fix alignment within their container +merge_request: +author: Ryan Harris |