Skip to content

Commit

Permalink
Merge branch 'denischiron-master-css' into dev
Browse files Browse the repository at this point in the history
Intégration denis
  • Loading branch information
Lucaterre committed Apr 15, 2024
2 parents 0f4c4ea + efacbb2 commit b694a4d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@ const toggleMobileMenu = function($event) {
}
const route = useRoute();
watch(route, (nextRoute, previousRoute) => {
watch(() => route.name, (nextRoute, previousRoute) => {
isMobileMenuOpen.value = false;
console.log(nextRoute.name, previousRoute.name);
if (nextRoute.name !== "facsimile" || previousRoute.name !== "facsimile") {
if (nextRoute !== "facsimile" || previousRoute !== "facsimile") {
window.scrollTo(0,0);
}
});
Expand Down
1 change: 1 addition & 0 deletions src/components/FacSimileNavigation.vue
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ li.register .is-highlighted,
padding: 30px 0;
}
.main__title__toc {
display: block;
margin: 28px 0 10px;
Expand Down
7 changes: 7 additions & 0 deletions src/views/FacSimileView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
:selected-nav="selectedNav"
:register-to-open="endpVolume"
:year-to-open="registerPageDate"
:class="{ 'has-warning': registerPageDate }"
@update-mirador="handleMiradorUpdate"/>
</div>

Expand Down Expand Up @@ -452,6 +453,12 @@ export default {
padding: 26px 0 var(--right-column-bottom-padding-desktop);
}
:deep(.fac-simile__toc.has-warning > ul) {
min-height: calc(100vh - 75px);
max-height: calc(100vh - 75px);
}
.container-mirador {
width: 100%;
padding: 0;
Expand Down

0 comments on commit b694a4d

Please sign in to comment.