Files
gitlab-foss/app/components/rapid_diffs/diff_file_component.html.haml
2025-02-21 15:07:16 +00:00

11 lines
449 B
Plaintext

-# TODO: add fork suggestion (commits only)
%diff-file.rd-diff-file-component{ id: id, data: server_data }
.rd-diff-file
= render RapidDiffs::DiffFileHeaderComponent.new(diff_file: @diff_file)
-# extra wrapper needed so content-visibility: hidden doesn't require removing border or other styles
%div{ data: { file_body: '' } }
.rd-diff-file-body
= render viewer_component.new(diff_file: @diff_file)
%diff-file-mounted