Commit 048d0cba authored by Jarek Ostrowski's avatar Jarek Ostrowski

Fix top position of diff file search

MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/40634
parent 3ca6d55b
...@@ -468,7 +468,7 @@ export default { ...@@ -468,7 +468,7 @@ export default {
<div <div
:data-can-create-note="getNoteableData.current_user.can_create_note" :data-can-create-note="getNoteableData.current_user.can_create_note"
class="files d-flex" class="files d-flex gl-mt-2"
> >
<div <div
v-if="showTreeList" v-if="showTreeList"
......
...@@ -1062,7 +1062,7 @@ table.code { ...@@ -1062,7 +1062,7 @@ table.code {
.diff-tree-list { .diff-tree-list {
position: -webkit-sticky; position: -webkit-sticky;
position: sticky; position: sticky;
$top-pos: $header-height + $mr-tabs-height + $mr-version-controls-height + 11px; $top-pos: $header-height + $mr-tabs-height + $mr-version-controls-height + 15px;
top: $top-pos; top: $top-pos;
max-height: calc(100vh - #{$top-pos}); max-height: calc(100vh - #{$top-pos});
z-index: 202; z-index: 202;
......
---
title: Fix file file input top position cutoff
merge_request: 40634
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