Skip to content

Commit 00f873a

Browse files
fix: picture on home for anonymous users (#928)
1 parent 186a7b2 commit 00f873a

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/app/router.options.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,7 @@ const routes = ({
336336
{
337337
path: '/newsfeed',
338338
name: 'Newsfeed',
339-
component: () =>
340-
import(/* webpackChunkName: NewsfeedPage" */ '../pages/NewsfeedPage/NewsfeedPage.vue'),
339+
component: () => import('../pages/NewsfeedPage/NewsfeedPage.vue'),
341340
meta: {
342341
resetScroll: true,
343342
},

src/components/home/HomeHeader/HomeHeaderAnonymous.vue

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ const computeDescriptionLayout = () => {
9393
}
9494
const descriptionLayoutComputed = (event) => {
9595
styleDescription.value = { height: event.height + 'px' }
96-
isDescriptionLimited.value = event.croppedHtml != organization.value.description
96+
isDescriptionLimited.value = event.croppedHtml != organization.value?.$t?.description
9797
descriptionComputed.value = true
9898
}
9999
const logInUser = () => goToKeycloakLoginPage()
@@ -128,6 +128,11 @@ const logInUser = () => goToKeycloakLoginPage()
128128
@media screen and (min-width: $min-tablet) {
129129
flex-basis: 30%;
130130
flex-shrink: 0;
131+
132+
.organization-banner {
133+
width: 17rem;
134+
height: 17rem;
135+
}
131136
}
132137
}
133138
@@ -208,6 +213,7 @@ const logInUser = () => goToKeycloakLoginPage()
208213
align-self: stretch;
209214
210215
@media screen and (max-width: $min-tablet) {
216+
min-height: 8rem;
211217
height: 8rem;
212218
}
213219
}

0 commit comments

Comments
 (0)