File size: 1,509 Bytes
2c3d303
c2df9c2
 
 
2c3d303
 
c2df9c2
 
2c3d303
c2df9c2
2c3d303
 
 
 
c2df9c2
 
9684fe8
 
 
 
 
 
2c3d303
c2df9c2
2c3d303
 
 
 
 
 
 
 
 
 
 
 
5935dee
2c3d303
c2df9c2
2c3d303
c2df9c2
 
2c3d303
c2df9c2
 
2c3d303
c2df9c2
 
2c3d303
 
 
 
 
5935dee
 
2c3d303
 
 
5935dee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/* Main container */
.main {
  display: flex;
  flex-direction: column;
  height: 100vh; /* Full viewport height */
  overflow: hidden;
}

/* Messages container */
.messages {
  flex-grow: 1;
  overflow-y: scroll; /* Allows scrolling */
  padding: 10px;
  margin-bottom: 60px; /* Space for the input area */
}

.messages pre, .messages code {
  white-space: pre-wrap; /* Wraps the text */
  word-break: break-word; /* Breaks words at the end of the line */
  overflow-wrap: break-word; /* Ensures long words are wrapped */
}

/* Individual message styling */
.message {
}

/* Input container styling */
.inputContainer {
  background-color: #aaa; /* Base color */
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 50%, transparent 50%),
                    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 2px 2px, 4px 4px;
  position: fixed; /* Fixed at the bottom */
  bottom: 0; /* Align to bottom */
  left: 0; /* Align to left */
  right: 0; /* Align to right */
  display: flex;
  justify-content: space-between;
  padding: 10px;
  z-index: 1000; /* Ensure it's above other content */
}

/* Form styling */
.form {
  display: flex;
  width: 100%;
}

/* Input field styling */
.input {
  flex-grow: 1; /* Input takes up available space */
  margin-right: 10px; /* Spacing between input and button */
  font-size: 16px; /* Prevent zoom on mobile browsers */
}

/* Button styling */
.button {
  /* Add specific styles for the button appearance here */
}