nicolium: add view transition
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -1592,6 +1592,9 @@ const router = createRouter({
|
||||
defaultErrorComponent: SiteError,
|
||||
scrollRestoration: true,
|
||||
pathParamsAllowedCharacters: ['@'],
|
||||
defaultViewTransition: {
|
||||
types: ({ fromLocation }) => (fromLocation ? [''] : false),
|
||||
},
|
||||
});
|
||||
|
||||
router.subscribe('onBeforeNavigate', (event) => {
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
html {
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
body {
|
||||
-webkit-overflow-scrolling: touch;
|
||||
-ms-overflow-style: -ms-autohiding-scrollbar;
|
||||
|
||||
@ -369,6 +369,7 @@ body {
|
||||
|
||||
&__main {
|
||||
@apply md:col-span-12 lg:col-span-9 xl:col-span-6 pb-14 lg:pb-0 xl:pb-16 black:border-gray-800 lg:black:border-l xl:black:border-r;
|
||||
navigation: auto;
|
||||
|
||||
&--chats {
|
||||
@apply xl:pb-16;
|
||||
|
||||
Reference in New Issue
Block a user