Commit 9ecb06ae authored by Tim Zallmann's avatar Tim Zallmann Committed by Fatih Acet

Resolve "Merge request collapse icon is tiny"

parent e325367a
...@@ -112,7 +112,11 @@ export default { ...@@ -112,7 +112,11 @@ export default {
}, },
methods: { methods: {
handleToggle(e, checkTarget) { 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'); this.$emit('toggleFile');
} }
}, },
......
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
background-color: $gray-normal; background-color: $gray-normal;
} }
.diff-toggle-caret { svg {
padding-right: 6px; vertical-align: text-bottom;
} }
} }
......
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