remove hydr error

This commit is contained in:
Kseninia Mikhaylova 2024-07-25 13:24:04 +03:00
parent efe5c15b8a
commit f6c4ac8dd1
3 changed files with 8 additions and 2 deletions

View File

@ -12,6 +12,7 @@ html {
body { body {
@apply select-none min-w-80 font-sans; @apply select-none min-w-80 font-sans;
&.modal-opened { &.modal-opened {
@apply overflow-hidden; @apply overflow-hidden;
} }
@ -188,6 +189,10 @@ a[href^="#"] {
>.container { >.container {
@apply items-start; @apply items-start;
} }
a[href^="tel://"] {
@apply whitespace-nowrap
}
} }
&-content { &-content {

View File

@ -26,7 +26,7 @@ const { data: social_networkData } = await apiFetch<ApiSocial_networkType[]>(`so
<div class="col-span-12 lg:col-span-6 xl:col-span-6 mb-12 lg:mb-0"> <div class="col-span-12 lg:col-span-6 xl:col-span-6 mb-12 lg:mb-0">
<template v-for="item in footerData"> <template v-for="item in footerData">
<div class="footer-text" v-if="!item.small_text"> <div class="footer-text" v-if="!item.small_text">
<template v-for="p in item.text.split('\n')"> <template v-for="p in item.text.replace(/\r\n/g, '\n').split('\n')">
<p v-if="p.trim().length">{{ p }}</p> <p v-if="p.trim().length">{{ p }}</p>
</template> </template>
</div> </div>

View File

@ -252,7 +252,8 @@ const policy = () => {
</template> </template>
</div> </div>
<div class="flex gap-4 justify-center"> <div class="flex gap-4 justify-center">
<button class="not-prose" @click="openForm">Отправить расчет на <nobr>e-mail</nobr></button> <button class="not-prose" @click="openForm">Отправить расчет на <span
class="whitespace-nowrap">e-mail</span></button>
</div> </div>
</template> </template>
</div> </div>