diff --git a/nuxt/components/Glava.vue b/nuxt/components/Glava.vue
index 2192caf..6370a7e 100644
--- a/nuxt/components/Glava.vue
+++ b/nuxt/components/Glava.vue
@@ -1,8 +1,12 @@
@@ -19,7 +23,7 @@ const naManifestu = computed(() => route.path.indexOf('/manifest') === 0)
-
+
admin
@@ -108,6 +112,10 @@ ul {
width: 100%;
}
+.posivljen {
+ opacity: 0.5;
+}
+
@media screen and (max-width: 768px) {
.meni {
display: flex;
diff --git a/nuxt/components/Pojem.vue b/nuxt/components/Pojem.vue
index e6a74c6..84ed8d9 100644
--- a/nuxt/components/Pojem.vue
+++ b/nuxt/components/Pojem.vue
@@ -43,7 +43,13 @@ onMounted(() => {
setTimeout(() => obrazec.value.scrollIntoView({ behavior: 'smooth' }), 50)
} else {
// 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 {
margin-left: 0;
min-height: 70vh;
+ width: 100%;
+ margin-left: 0;
}
}