i18n: change margin left/right to start/end

This commit is contained in:
axolotle 2023-11-20 14:19:23 +01:00
parent b428472579
commit 85620ac979

View file

@ -53,7 +53,7 @@ async function logout() {
<div class="flex flex-row flex-wrap items-center min-w-full"> <div class="flex flex-row flex-wrap items-center min-w-full">
<NuxtLink to="/"> <NuxtLink to="/">
<span class="sr-only">{{ t('back_to_apps') }}</span> <span class="sr-only">{{ t('back_to_apps') }}</span>
<YIcon name="account-circle" size="5em" class="mr-3" /> <YIcon name="account-circle" size="5em" class="me-3" />
</NuxtLink> </NuxtLink>
<div> <div>
@ -64,7 +64,6 @@ async function logout() {
<h4 v-if="user" class="opacity-50">{{ user.mail }}</h4> <h4 v-if="user" class="opacity-50">{{ user.mail }}</h4>
</div> </div>
<!-- FIXME temp -->
<div class="ms-auto"> <div class="ms-auto">
<YButton <YButton
v-if="isLoggedIn" v-if="isLoggedIn"
@ -83,11 +82,10 @@ async function logout() {
</main> </main>
<footer class="mt-auto"> <footer class="mt-auto">
<!-- class="container fixed bottom-10 mx-10 pr-10 text-gray-400" -->
<slot name="footer"> <slot name="footer">
<div class="sm:flex flex-row flex-wrap items-end justify-center"> <div class="sm:flex flex-row flex-wrap items-end justify-center">
<nav <nav
class="border-t border-gray-500 space-x-5 flex-wrap sm:mr-5 text-center sm:text-left" class="border-t border-gray-500 space-x-5 flex-wrap sm:me-5 text-center sm:text-left"
> >
<NuxtLink <NuxtLink
v-for="link in footerLinks" v-for="link in footerLinks"
@ -100,7 +98,7 @@ async function logout() {
</NuxtLink> </NuxtLink>
</nav> </nav>
<CustomLogo class="mt-8 sm:mt-0 mx-auto sm:ml-auto sm:mr-0" /> <CustomLogo class="mt-8 sm:mt-0 mx-auto sm:ms-auto sm:me-0" />
</div> </div>
</slot> </slot>
</footer> </footer>