fix: remove build view header

This commit is contained in:
Jason Song 2022-11-18 16:44:44 +08:00
parent 5230c7a364
commit f3a9a25682
4 changed files with 1 additions and 23 deletions

View File

@ -2,13 +2,6 @@
<div class="page-content repository">
{{template "repo/header" .}}
<div class="build-view-header">
<h1>
<span class="title">{{template "repo/builds/status" .Build.Status}}{{RenderIssueTitle $.Context .Build.Title $.RepoLink $.Repository.ComposeMetas}}</span>
<span class="index">#{{.Build.Index}}</span>
</h1>
</div>
<div id="repo-build-view" data-run-index="{{.RunIndex}}" data-job-index="{{.JobIndex}}">
</div>

View File

@ -341,7 +341,7 @@ export function initRepositoryBuildView() {
.build-view-container {
display: flex;
height: calc(100vh - 286px); // fine tune this value to make the main view has full height
height: calc(100vh - 226px); // fine tune this value to make the main view has full height
}

View File

@ -1,14 +0,0 @@
.page-content.repository {
.build-view-header {
height: 60px;
h1 {
font-size: 20px;
font-weight: 300;
}
.index {
color: var(--color-text-light-2);
}
}
}

View File

@ -28,7 +28,6 @@
@import "_install";
@import "_form";
@import "_repository";
@import "_repository_build";
@import "_editor";
@import "_organization";
@import "_user";