Skip to content

Commit e1feb43

Browse files
authored
Fix file tree issues (#33916)
1 parent 9d89dfe commit e1feb43

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

templates/repo/view_file_tree.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<div class="flex-text-block tw-mb-2">
2-
<button class="ui compact tiny icon button"
1+
<div class="flex-text-block repo-button-row">
2+
<button class="ui compact basic icon button"
33
data-global-click="onRepoViewFileTreeToggle" data-toggle-action="hide"
44
data-tooltip-content="{{ctx.Locale.Tr "repo.diff.hide_file_tree"}}">
55
{{svg "octicon-sidebar-expand"}}

web_src/css/markup/content.css

-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@
285285
.markup table {
286286
display: block;
287287
width: 100%;
288-
width: max-content;
289288
max-width: 100%;
290289
overflow: auto;
291290
}

web_src/css/repo/home.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
}
5656

5757
.repo-view-container .repo-view-file-tree-container {
58-
flex: 0 1 15%;
58+
flex: 0 0 15%;
5959
min-width: 0;
6060
max-height: 100vh;
6161
}

0 commit comments

Comments
 (0)