From dff1d72788b2914b0b1a68e1bdf0ffd9c5e0de2b Mon Sep 17 00:00:00 2001 From: braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Tue, 9 May 2023 10:24:31 +0200 Subject: [PATCH] chore(docs): check if breakpoint matches Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com> --- docs/components/home/flows/Intro.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/components/home/flows/Intro.vue b/docs/components/home/flows/Intro.vue index 2eb91773..042742bb 100644 --- a/docs/components/home/flows/Intro.vue +++ b/docs/components/home/flows/Intro.vue @@ -145,7 +145,7 @@ function setElements() { }, ] }) - } else if (currentBreakpoint.value !== 'md') { + } else if (!breakpoints.isSmaller('md') && currentBreakpoint.value !== 'md') { currentBreakpoint.value = 'md' getNodes.value.forEach((node) => {