feat: better design

This commit is contained in:
Julien Calixte
2026-02-17 00:13:08 +01:00
parent c3095a545e
commit ffa1a28e90
3 changed files with 36 additions and 11 deletions

View File

@@ -9,8 +9,10 @@ const { notes, isLoading, canLoadMore, onLoadMore, getAlias } =
<template>
<main class="public-note-list-view">
<h1>Remanso notes</h1>
<back-button class="back-button" :fallback="{ name: 'Home' }" />
<div class="header">
<back-button class="back-button" :fallback="{ name: 'Home' }" />
<h1>Remanso notes</h1>
</div>
<div v-if="isLoading"></div>
<div v-else>
<ul
@@ -61,8 +63,17 @@ const { notes, isLoading, canLoadMore, onLoadMore, getAlias } =
padding-left: 1rem;
padding-right: 1rem;
h1 {
.header {
margin-top: 1rem;
display: flex;
justify-content: space-between;
align-items: center;
}
h1 {
flex: 1;
text-align: center;
margin-bottom: 0;
}
.back-button {