Ensure that copy to clipboard button is visible

Truncates files paths in diff file headers so that, when the path is too
long, it is truncated to prevent the copy to clipboard button from being
hidden.
parent 7cbe1bf0
......@@ -226,7 +226,7 @@ export default {
<a
ref="titleWrapper"
:v-once="!viewDiffsFileByFile"
class="gl-mr-2 gl-text-decoration-none!"
class="gl-mr-2 gl-text-decoration-none! gl-text-truncate"
:href="titleLink"
@click="handleFileNameClick"
>
......
---
title: Ensure that copy to clipboard button is visible
merge_request: 46466
author:
type: fixed
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