Skip to content

Commit 1e3b7c4

Browse files
committed
fix
1 parent 7b8a655 commit 1e3b7c4

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

templates/repo/view.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<div class="repo-view-file-tree-container not-mobile {{if not .UserSettingCodeViewShowFileTree}}tw-hidden{{end}}" {{if .IsSigned}}data-user-is-signed-in{{end}}>
2121
{{template "repo/view_file_tree" .}}
2222
</div>
23-
<div class="repo-view-content tw-px-1">
23+
<div class="repo-view-content">
2424
{{template "repo/view_content" .}}
2525
</div>
2626
</div>

web_src/css/markup/content.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@
284284

285285
.markup table {
286286
display: block;
287-
width: 100%;
287+
width: max-content;
288288
max-width: 100%;
289289
overflow: auto;
290290
}

web_src/css/repo/home.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@
6565
overflow: hidden;
6666
}
6767

68+
.repo-view-content .ui.attached.header,
69+
.repo-view-content .ui.attached.table {
70+
margin: 0 !important;
71+
width: 100% !important;
72+
max-width: 100% !important;
73+
}
74+
6875
.language-stats {
6976
display: flex;
7077
gap: 2px;

0 commit comments

Comments
 (0)