Skip to content

Commit 14a359e

Browse files
committed
Repo homepage tweaks
1 parent 9d08d3f commit 14a359e

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

templates/repo/view_list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<table id="repo-files-table" class="ui single line fixed table tw-mt-0" {{if .HasFilesWithoutLatestCommit}}hx-indicator="tr.notready td.message span" hx-trigger="load" hx-swap="morph" hx-post="{{.LastCommitLoaderURL}}"{{end}}>
1+
<table id="repo-files-table" class="ui single line table tw-mt-0" {{if .HasFilesWithoutLatestCommit}}hx-indicator="tr.notready td.message span" hx-trigger="load" hx-swap="morph" hx-post="{{.LastCommitLoaderURL}}"{{end}}>
22
<thead>
33
<tr class="commit-list">
44
<th class="tw-overflow-hidden" colspan="2">

web_src/css/repo.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1800,7 +1800,7 @@ td .commit-summary {
18001800

18011801
.repository .repository-summary .sub-menu .item {
18021802
flex: 1;
1803-
height: 30px;
1803+
height: 33.6px; /* match search bar height */
18041804
line-height: var(--line-height-default);
18051805
display: flex;
18061806
align-items: center;

web_src/css/repo/home.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
border-top: 1px solid var(--color-secondary); /* same to .flex-list > .flex-item + .flex-item */
2525
}
2626

27-
@media (max-width: 767.98px) {
27+
@media (max-width: 872px) { /* value is exactly where the file table starts to overflow */
2828
.repo-grid-filelist-sidebar {
2929
grid-template-columns: 100%;
3030
grid-template-rows: auto auto auto;

0 commit comments

Comments
 (0)