style(tasks): floating header

This commit is contained in:
Elian Doran 2025-02-19 18:30:33 +02:00
parent 35af12b6e7
commit ad492619f5
No known key found for this signature in database

View File

@ -16,11 +16,18 @@ const TPL = `
<style> <style>
.note-detail-task-list { .note-detail-task-list {
height: 100%;
contain: none;
padding: 10px; padding: 10px;
} }
.note-detail-task-list header { .note-detail-task-list header {
margin-bottom: 1em; position: sticky;
top: 0;
z-index: 100;
margin: 0;
padding: 0.5em 0;
background-color: var(--main-background-color);
} }
.note-detail-task-list .add-new-task { .note-detail-task-list .add-new-task {