Fix file tree issues (#33916)

This commit is contained in:
Kerwin Bryant
2025-03-17 22:55:15 +08:00
committed by GitHub
parent 9d89dfe142
commit e1feb438a4
3 changed files with 3 additions and 4 deletions

View File

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

View File

@ -285,7 +285,6 @@
.markup table {
display: block;
width: 100%;
width: max-content;
max-width: 100%;
overflow: auto;
}

View File

@ -55,7 +55,7 @@
}
.repo-view-container .repo-view-file-tree-container {
flex: 0 1 15%;
flex: 0 0 15%;
min-width: 0;
max-height: 100vh;
}