From 3b988609fd6cf4eda3d0446a84345a09649facf7 Mon Sep 17 00:00:00 2001 From: Phil Hughes Date: Tue, 2 Apr 2019 09:58:36 +0100 Subject: Fixed positioning of the diff tree list on mobile Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/59739 --- app/assets/stylesheets/pages/diff.scss | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'app') diff --git a/app/assets/stylesheets/pages/diff.scss b/app/assets/stylesheets/pages/diff.scss index 1fedbd8bddb..02364180c35 100644 --- a/app/assets/stylesheets/pages/diff.scss +++ b/app/assets/stylesheets/pages/diff.scss @@ -1059,7 +1059,10 @@ table.code { flex-direction: column; .diff-tree-list { - width: 100%; + position: relative; + top: 0; + // !important is required to override inline styles of resizable sidebar + width: 100% !important; } .tree-list-holder { -- cgit v1.2.1