From 14a359eff10cbeabf8751dc7c0f5bdf2052ca6cc Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 8 Dec 2024 12:39:11 +0100 Subject: [PATCH] Repo homepage tweaks --- templates/repo/view_list.tmpl | 2 +- web_src/css/repo.css | 2 +- web_src/css/repo/home.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/repo/view_list.tmpl b/templates/repo/view_list.tmpl index 3edfbb347456f..c4d61edad8b36 100644 --- a/templates/repo/view_list.tmpl +++ b/templates/repo/view_list.tmpl @@ -1,4 +1,4 @@ - +
diff --git a/web_src/css/repo.css b/web_src/css/repo.css index 14bdc434749ea..a94bd7e53c636 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -1800,7 +1800,7 @@ td .commit-summary { .repository .repository-summary .sub-menu .item { flex: 1; - height: 30px; + height: 33.6px; /* match search bar height */ line-height: var(--line-height-default); display: flex; align-items: center; diff --git a/web_src/css/repo/home.css b/web_src/css/repo/home.css index fd8fac27e27b4..b8896bf128abd 100644 --- a/web_src/css/repo/home.css +++ b/web_src/css/repo/home.css @@ -24,7 +24,7 @@ border-top: 1px solid var(--color-secondary); /* same to .flex-list > .flex-item + .flex-item */ } -@media (max-width: 767.98px) { +@media (max-width: 872px) { /* value is exactly where the file table starts to overflow */ .repo-grid-filelist-sidebar { grid-template-columns: 100%; grid-template-rows: auto auto auto;