[WebUI] Unecessary space between Processcount and processlist #3032

This commit is contained in:
nicolargo 2024-12-23 19:19:43 +01:00
parent 499e46cf44
commit f3d9e3feee
5 changed files with 16 additions and 7 deletions

View File

@ -80,6 +80,11 @@ body {
// Layout
.container-fluid {
margin-left: 0px;
margin-right: 0px;
}
.header {
height: 30px;
}
@ -312,6 +317,7 @@ body {
span:nth-child(1) {
padding-left: 0px;
}
margin-bottom: 0px;
}
#amps {

View File

@ -4,7 +4,7 @@
</div>
<glances-help v-else-if="args.help_tag"></glances-help>
<main v-else>
<div class="container-fluidheader">
<div class="container-fluid header">
<div class="row justify-content-between">
<div class="col-auto" v-if="!args.disable_system">
<glances-plugin-system :data="data"></glances-plugin-system>

View File

@ -1,5 +1,5 @@
<template>
<section id="amps" class="plugin">
<section id="amps" class="plugin" v-if="hasAmps">
<table class="table table-sm table-borderless">
<tbody>
<tr v-for="(process, processId) in processes" :key="processId">
@ -23,7 +23,7 @@
</div>
</div> -->
</section>
</section>
</template>
<script>
@ -39,6 +39,9 @@ export default {
},
processes() {
return this.stats.filter((process) => process.result !== null);
},
hasAmps() {
return this.processes.length > 0;
}
},
methods: {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long