Skip to content

Commit ca02788

Browse files
committed
make heading controls sticky
1 parent 68f183e commit ca02788

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

src/Frontend/src/components/audit/AuditList.vue

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,14 @@ const watchHandle = watch([() => route.query, itemsPerPage, sortBy, messageFilte
167167

168168
<template>
169169
<div>
170+
<div class="header">
170171
<RefreshConfig id="auditListRefresh" @change="store.updateRefreshTimer" @manual-refresh="store.refresh" />
171-
<div class="row">
172-
<FiltersPanel />
173-
</div>
174-
<div class="row">
175-
<ResultsCount :displayed="messages.length" :total="totalCount" />
172+
<div class="row">
173+
<FiltersPanel />
174+
</div>
175+
<div class="row">
176+
<ResultsCount :displayed="messages.length" :total="totalCount" />
177+
</div>
176178
</div>
177179
<div class="row results-table">
178180
<template v-for="message in messages" :key="message.id">
@@ -198,6 +200,14 @@ const watchHandle = watch([() => route.query, itemsPerPage, sortBy, messageFilte
198200

199201
<style scoped>
200202
@import "../list.css";
203+
204+
.header {
205+
position: sticky;
206+
top: -3rem;
207+
background: #f2f6f7;
208+
z-index: 100;
209+
}
210+
201211
.results-table {
202212
margin-top: 1rem;
203213
margin-bottom: 5rem;

0 commit comments

Comments
 (0)