mirror of
https://github.com/go-gitea/gitea.git
synced 2025-04-18 00:47:48 -04:00
feat: move summary to header
This commit is contained in:
parent
9b6b848311
commit
901914e34b
@ -1,10 +1,12 @@
|
||||
<template>
|
||||
<div class="action-view-container">
|
||||
<div class="action-view-left">
|
||||
<div class="action-view-header">
|
||||
<div class="action-info-summary">
|
||||
{{ runInfo.title }}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="action-view-body">
|
||||
<div class="action-view-left">
|
||||
<div class="job-group-section" v-for="(jobGroup, i) in allJobGroups" :key="i">
|
||||
<!-- <div class="job-group-summary">-->
|
||||
<!-- {{ jobGroup.summary }}-->
|
||||
@ -73,6 +75,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@ -354,11 +357,24 @@ export function initRepositoryActionView() {
|
||||
|
||||
<style scoped lang="less">
|
||||
|
||||
.action-view-container {
|
||||
.action-view-body {
|
||||
display: flex;
|
||||
height: calc(100vh - 226px); // fine tune this value to make the main view has full height
|
||||
height: calc(100vh - 266px); // fine tune this value to make the main view has full height
|
||||
}
|
||||
|
||||
// ================
|
||||
// action view header
|
||||
|
||||
.action-view-header {
|
||||
width: 1127px;
|
||||
margin: 0 auto 20px auto;
|
||||
}
|
||||
|
||||
.action-info-summary {
|
||||
font-size: 150%;
|
||||
height: 20px;
|
||||
padding: 0 10px;
|
||||
}
|
||||
|
||||
// ================
|
||||
// action view left
|
||||
@ -370,11 +386,6 @@ export function initRepositoryActionView() {
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
.action-info-summary {
|
||||
font-size: 150%;
|
||||
margin: 5px 0;
|
||||
}
|
||||
|
||||
.job-group-section {
|
||||
.job-group-summary {
|
||||
margin: 5px 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user