提交 9ecb06ae 编写于 作者: T Tim Zallmann 提交者: Fatih Acet

Resolve "Merge request collapse icon is tiny"

上级 e325367a
......@@ -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');
}
},
......
......@@ -14,8 +14,8 @@
background-color: $gray-normal;
}
.diff-toggle-caret {
padding-right: 6px;
svg {
vertical-align: text-bottom;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册