@pubuduth-aplicy/chat-ui 2.1.57 → 2.1.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pubuduth-aplicy/chat-ui",
3
- "version": "2.1.57",
3
+ "version": "2.1.58",
4
4
  "description": "This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.",
5
5
  "license": "ISC",
6
6
  "author": "",
@@ -1,7 +1,7 @@
1
1
  const Loader = () => {
2
2
  return (
3
-
4
- <div className="dot-spinner">
3
+ <div className="loader-wrapper">
4
+ <div className="dot-spinner">
5
5
  <div className="dot-spinner__dot" />
6
6
  <div className="dot-spinner__dot" />
7
7
  <div className="dot-spinner__dot" />
@@ -11,6 +11,8 @@ const Loader = () => {
11
11
  <div className="dot-spinner__dot" />
12
12
  <div className="dot-spinner__dot" />
13
13
  </div>
14
+ </div>
15
+
14
16
  )
15
17
  }
16
18
 
@@ -34,8 +34,8 @@
34
34
 
35
35
  .chatSidebarSearchbar {
36
36
  display: inline-flex;
37
- padding-top: 2.4rem;
38
- padding-bottom: 2.5rem;
37
+ padding-top: 2.4125rem;
38
+ padding-bottom: 2.45rem;
39
39
  /* padding-left: 1rem; */
40
40
  padding-right: 1rem;
41
41
  gap: 1rem;
@@ -73,6 +73,14 @@
73
73
  padding-bottom: 3px;
74
74
  }
75
75
 
76
+ .loader-wrapper{
77
+ display: flex;
78
+ align-items: center;
79
+ justify-content: center;
80
+ height: 100%;
81
+ width: 100%;
82
+ }
83
+
76
84
  .chatSidebarInput {
77
85
  outline: none;
78
86
  padding: 8px 4px; /* Keep original padding */
@@ -1107,6 +1115,7 @@ background-color: #ccc;
1107
1115
  display: flex;
1108
1116
  flex-direction: column;
1109
1117
  gap: 4px;
1118
+ white-space: nowrap;
1110
1119
  }
1111
1120
 
1112
1121
  .attachment-options button {