Skip to content

Commit

Permalink
fix(Collective): Fix alignment of page heading skeleton
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <jonas@freesources.org>
  • Loading branch information
mejo- committed Nov 9, 2023
1 parent 4845068 commit 26dc1a3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/Collective.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<template>
<NcAppContentDetails>
<SkeletonLoading v-if="loading('collective') || loading('currentPage')" :count="1" type="page-heading" />
<div v-if="loading('collective') || loading('currentPage')" class="sheet-view">
<SkeletonLoading :count="1" class="page-heading-skeleton" type="page-heading" />
</div>
<Version v-else-if="currentPage && version" />
<Page v-else-if="currentPage" />
<PageNotFound v-else />
Expand Down
1 change: 1 addition & 0 deletions src/css/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

.landing-page-widgets,
.text-container-heading,
.page-heading-skeleton,
.page-content-skeleton {
max-width: var(--text-editor-max-width);
margin: auto;
Expand Down

0 comments on commit 26dc1a3

Please sign in to comment.