diff --git a/frappe/public/js/frappe/ui/user_onboarding/OnboardingPanel.vue b/frappe/public/js/frappe/ui/user_onboarding/OnboardingPanel.vue index 20d2189a71..3a4a3ac54f 100644 --- a/frappe/public/js/frappe/ui/user_onboarding/OnboardingPanel.vue +++ b/frappe/public/js/frappe/ui/user_onboarding/OnboardingPanel.vue @@ -239,107 +239,114 @@ function markReset(step) { -
-
-
+
+
+
+
-
{{ title }}
+
{{ title }}
-
- {{ completedCount }}/{{ steps.length }} {{ __("steps completed") }} -
-
- -
-
-
{{ progress }}% {{ __("completed") }}
-
-
-
- {{ progress }}% {{ __("completed") }} +
+ {{ completedCount }}/{{ steps.length }} {{ __("steps completed") }}
-
- {{ __("Reset All") }} -
-
- {{ __("Skip All") }} -
-
- - -
-
-
-
-
-
-
-
-
-
- -
- - {{ __(step.action_label) }} - -
-
- - {{ __(step.action_label) }} - -
+
+
+
{{ progress }}% {{ __("completed") }}
+
+
+
+ {{ progress }}% {{ __("completed") }}
+
-
-
-
+
+ + {{ __("Reset All") }} +
+
+ {{ __("Skip All") }} +
+
+ + +
+
+
+
+
+
+
+
+
+
+ +
- {{ __("Skip") }} + {{ __(step.action_label) }} + +
+
+ + {{ __(step.action_label) }}
-
-
- - {{ __("Reset") }} - + +
+
+
+ + {{ __("Skip") }} + +
+
+
+
+ + {{ __("Reset") }} + +
diff --git a/frappe/public/js/frappe/ui/user_onboarding/user_onboarding.bundle.js b/frappe/public/js/frappe/ui/user_onboarding/user_onboarding.bundle.js index 5f41f7f2f3..53dbd0f19a 100644 --- a/frappe/public/js/frappe/ui/user_onboarding/user_onboarding.bundle.js +++ b/frappe/public/js/frappe/ui/user_onboarding/user_onboarding.bundle.js @@ -72,7 +72,7 @@ function addStyles() { .onb-panel { position: fixed; - left: 236px; + left: 66px; bottom: 24px; width: 310px; max-height: 80vh; @@ -83,7 +83,30 @@ function addStyles() { z-index: 1000; display: flex; flex-direction: column; - } + overflow-y: auto; + transition-property: all; + transition-duration: 0.3s; + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); + } + + .expanded .onb-panel { + left: 236px; + } + + .onb-collapsible { + overflow: hidden; + transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1); + } + + .onb-collapsible--expanded { + max-height: 3000px; + pointer-events: auto; + } + + .onb-collapsible--collapsed { + max-height: 0; + pointer-events: none; + } .onb-header-main { display: flex;