design: better design for title

This commit is contained in:
Julien Calixte
2024-12-29 00:43:04 +01:00
parent cc59e23e69
commit 6a84c92f4f

View File

@@ -104,10 +104,10 @@ const focusREADME = () => scrollToTop()
<router-link :to="{ name: 'FluxNoteView', params: { user, repo } }"> <router-link :to="{ name: 'FluxNoteView', params: { user, repo } }">
{{ repo }} {{ repo }}
</router-link> </router-link>
| <em class="user">{{ user }}</em>
</h1> </h1>
<cache-all-notes /> {{ user }}
</div> </div>
<cache-all-notes />
</div> </div>
<slot /> <slot />
<lite-loading v-if="isLoading" /> <lite-loading v-if="isLoading" />
@@ -179,16 +179,15 @@ $header-height: 40px;
.repo-title { .repo-title {
margin-top: 1rem; margin-top: 1rem;
display: flex;
flex-direction: column;
align-items: center;
.repo-header { .repo-header {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
gap: 1rem; gap: 1rem;
.user {
font-size: 1.5rem;
}
} }
.title { .title {