Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/diffs/components/parallel_diff_view.vue')
-rw-r--r--app/assets/javascripts/diffs/components/parallel_diff_view.vue13
1 files changed, 6 insertions, 7 deletions
diff --git a/app/assets/javascripts/diffs/components/parallel_diff_view.vue b/app/assets/javascripts/diffs/components/parallel_diff_view.vue
index d400eb2c586..88baac092a1 100644
--- a/app/assets/javascripts/diffs/components/parallel_diff_view.vue
+++ b/app/assets/javascripts/diffs/components/parallel_diff_view.vue
@@ -45,13 +45,12 @@ export default {
:data-commit-id="commitId"
class="code diff-wrap-lines js-syntax-highlight text-file"
>
- <!-- Need to insert an empty row to solve "table-layout:fixed" equal width when expansion row is the first line -->
- <tr>
- <td style="width: 50px;"></td>
- <td></td>
- <td style="width: 50px;"></td>
- <td></td>
- </tr>
+ <colgroup>
+ <col style="width: 50px;" />
+ <col />
+ <col style="width: 50px;" />
+ <col />
+ </colgroup>
<tbody>
<template v-for="(line, index) in diffLines">
<parallel-diff-expansion-row