@@ -939,32 +939,58 @@ <h3>Drag & Drop to Upload File</h3>
939
939
</ div >
940
940
941
941
< style >
942
- /* Back to Top Button Styles */
942
+ /* Back to Top Button */
943
943
# backToTop {
944
944
height : 50px ;
945
945
width : 50px ;
946
- position : fixed;
947
- bottom : 80 px ;
948
- right : 25 px ;
949
- z-index : 998 ;
950
- background : linear-gradient (135deg , # 0077b5 , # 4facfe );
951
- color : white;
952
- border : none;
953
- border-radius : 50% ;
954
- padding : 15px ;
955
- font-size : 18px ;
956
- cursor : pointer;
957
- display : none;
958
- box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.2 );
959
- transition : transform 0.3s ease, opacity 0.3s ease;
946
+ position : fixed;
947
+ bottom : 20 px ; /* keep same baseline as chatbot */
948
+ right : 90 px ; /* push left so chatbot sits on the edge */
949
+ z-index : 998 ;
950
+ background : linear-gradient (135deg , # 0077b5, # 4facfe );
951
+ color : white;
952
+ border : none;
953
+ border-radius : 50% ;
954
+ padding : 15px ;
955
+ font-size : 18px ;
956
+ cursor : pointer;
957
+ display : none;
958
+ box-shadow : 0 4px 8px rgba (0 , 0 , 0 , 0.2 );
959
+ transition : transform 0.3s ease, opacity 0.3s ease;
960
960
}
961
961
962
962
# backToTop : hover {
963
- transform : scale (1.1 );
964
- opacity : 0.9 ;
965
- box-shadow : rgba (0 , 0 , 0 , 0.8 );
963
+ transform : scale (1.1 );
964
+ opacity : 0.9 ;
965
+ box-shadow : 0 4px 12px rgba (0 , 0 , 0 , 0.4 );
966
+ }
967
+
968
+ /* Chatbot bubble button */
969
+ button # chatbase-bubble-button {
970
+ position : fixed !important ;
971
+ bottom : 20px !important ; /* same baseline */
972
+ right : 20px !important ; /* chatbot stays at right corner */
973
+ width : 55px !important ;
974
+ height : 55px !important ;
975
+ border-radius : 50% !important ;
976
+ z-index : 2147483647 !important ;
977
+ display : flex !important ;
978
+ align-items : center !important ;
979
+ justify-content : center !important ;
966
980
}
967
981
982
+ button # chatbase-bubble-button svg {
983
+ width : 28px !important ;
984
+ height : 28px !important ;
985
+ }
986
+
987
+ /* Chat window alignment */
988
+ # chatbase-bubble-window {
989
+ z-index : 2147483647 !important ;
990
+ }
991
+
992
+
993
+
968
994
@media (max-width : 600px ) {
969
995
# backToTop {
970
996
padding : 12px ;
0 commit comments