diff --git a/src/components/ToggleXpertButton/index.jsx b/src/components/ToggleXpertButton/index.jsx index 455affb..a87f509 100644 --- a/src/components/ToggleXpertButton/index.jsx +++ b/src/components/ToggleXpertButton/index.jsx @@ -72,47 +72,48 @@ const ToggleXpert = ({ && (localStorage.getItem('completedLearningAssistantTour') || !isModalOpen) ); + const chatMargin = contentToolsEnabled ? 'mb-5' : 'mb-3'; + return ( (!isOpen && ( - <> -
- -
-

- Xpert is a new part of your learning experience.
- You can ask questions and get tutoring help during your course. -

-
- Close - -
-
-
-
+
+ +
+

+ Xpert is a new part of your learning experience.
+ You can ask questions and get tutoring help during your course. +

+
+ Close + +
+
+
+
{ shouldDisplayCTA && (
- )) ); }; diff --git a/src/components/ToggleXpertButton/index.scss b/src/components/ToggleXpertButton/index.scss index 2452514..1c7db7c 100644 --- a/src/components/ToggleXpertButton/index.scss +++ b/src/components/ToggleXpertButton/index.scss @@ -44,11 +44,6 @@ height: 1.5rem !important; } -// this class is used to shift the display of the toggle to account for the display of content tools -.chat-content-tools-margin { - margin-bottom: 2rem; -} - .learning-assistant-popup-modal { width: 100%; }