Skip to content
Snippets Groups Projects
Commit 00c1a58b authored by Fatih Acet's avatar Fatih Acet
Browse files

Merge branch '48495-merge-request-collapse-icon-is-tiny' into 'master'

Resolve "Merge request collapse icon is tiny"

Closes #48495

See merge request gitlab-org/gitlab-ce!20267
parents e325367a 9ecb06ae
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
Loading
Loading
@@ -112,7 +112,11 @@ export default {
},
methods: {
handleToggle(e, checkTarget) {
if (!checkTarget || e.target === this.$refs.header) {
if (
!checkTarget ||
e.target === this.$refs.header ||
(e.target.classList && e.target.classList.contains('diff-toggle-caret'))
) {
this.$emit('toggleFile');
}
},
Loading
Loading
Loading
Loading
@@ -14,8 +14,8 @@
background-color: $gray-normal;
}
 
.diff-toggle-caret {
padding-right: 6px;
svg {
vertical-align: text-bottom;
}
}
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment