Skip to content
代码片段 群组 项目
提交 a771c39c 编辑于 作者: Annabel Dunstone Gray's avatar Annabel Dunstone Gray
浏览文件

Merge branch '28032-tooltips-file-name' into 'master'

Adds container to tooltip in order to make it work with overflow:hidden in parent element

Closes #28032

See merge request !9170
No related branches found
No related tags found
无相关合并请求
......@@ -10,13 +10,13 @@
- if diff_file.renamed_file
- old_path, new_path = mark_inline_diffs(diff_file.old_path, diff_file.new_path)
%strong.file-title-name.has-tooltip{ data: { title: old_path } }
%strong.file-title-name.has-tooltip{ data: { title: old_path, container: 'body' } }
= old_path
→
%strong.file-title-name.has-tooltip{ data: { title: new_path } }
%strong.file-title-name.has-tooltip{ data: { title: new_path, container: 'body' } }
= new_path
- else
%strong.file-title-name.has-tooltip{ data: { title: diff_file.new_path } }
%strong.file-title-name.has-tooltip{ data: { title: diff_file.new_path, container: 'body' } }
= diff_file.new_path
- if diff_file.deleted_file
deleted
......
---
title: Adds container to tooltip in order to make it work with overflow:hidden in
parent element
merge_request:
author:
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册