Manjsi oblikovalski popravki, skrolanje pri editiranju popravljeno
parent
f9df3883ab
commit
9b647a67b2
|
@ -1,8 +1,12 @@
|
||||||
<script setup="setup">
|
<script setup="setup">
|
||||||
|
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
|
|
||||||
const pot = computed(() => route.path)
|
const pot = computed(() => route.path)
|
||||||
const naManifestu = computed(() => route.path.indexOf('/manifest') === 0)
|
const naManifestu = computed(() => route.path.indexOf('/manifest') === 0)
|
||||||
|
|
||||||
|
const { baseUrl } = useRuntimeConfig().public
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
|
@ -19,7 +23,7 @@ const naManifestu = computed(() => route.path.indexOf('/manifest') === 0)
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<NuxtLink to="https://yugofuturism.kompot.si/user" target="_blank">
|
<NuxtLink :to="baseUrl + '/user'" class="posivljen" target="_blank">
|
||||||
admin
|
admin
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
</li>
|
</li>
|
||||||
|
@ -108,6 +112,10 @@ ul {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.posivljen {
|
||||||
|
opacity: 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
@media screen and (max-width: 768px) {
|
@media screen and (max-width: 768px) {
|
||||||
.meni {
|
.meni {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
@ -43,7 +43,13 @@ onMounted(() => {
|
||||||
setTimeout(() => obrazec.value.scrollIntoView({ behavior: 'smooth' }), 50)
|
setTimeout(() => obrazec.value.scrollIntoView({ behavior: 'smooth' }), 50)
|
||||||
} else {
|
} else {
|
||||||
// Sicer samo poskrolaj na pojem
|
// Sicer samo poskrolaj na pojem
|
||||||
setTimeout(() => container.value.parentNode.scrollIntoView({ behavior: 'smooth' }), 50)
|
setTimeout(() => {
|
||||||
|
const sekcija = container.value.parentNode
|
||||||
|
console.log('skrolam?', sekcija)
|
||||||
|
if (sekcija) {
|
||||||
|
sekcija.scrollIntoView({ behavior: 'smooth' })
|
||||||
|
}
|
||||||
|
}, 50)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -103,6 +109,8 @@ onMounted(() => {
|
||||||
form.pojem {
|
form.pojem {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
min-height: 70vh;
|
min-height: 70vh;
|
||||||
|
width: 100%;
|
||||||
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue