Commit e0b9743e authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray Committed by Regis

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
parent 20f9a1c5
...@@ -10,14 +10,14 @@ ...@@ -10,14 +10,14 @@
- if diff_file.renamed_file - if diff_file.renamed_file
- old_path, new_path = mark_inline_diffs(diff_file.old_path, diff_file.new_path) - old_path, new_path = mark_inline_diffs(diff_file.old_path, diff_file.new_path)
%strong %strong.file-title-name.has-tooltip{ data: { title: old_path, container: 'body' } }
= old_path = old_path
→ →
%strong %strong.file-title-name.has-tooltip{ data: { title: new_path, container: 'body' } }
= new_path = new_path
- else - else
%strong %strong.file-title-name.has-tooltip{ data: { title: diff_file.new_path, container: 'body' } }
= diff_file.new_path = diff_file.new_path
- if diff_file.deleted_file - if diff_file.deleted_file
deleted deleted
......
---
title: Adds container to tooltip in order to make it work with overflow:hidden in
parent element
merge_request:
author:
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