vioott commited on
Commit
e9ba6dc
·
1 Parent(s): 65b9d17

style: make chat layout responsive for screens smaller than 1100px

Browse files
Files changed (1) hide show
  1. static/style.css +13 -1
static/style.css CHANGED
@@ -71,7 +71,7 @@ button:hover {
71
  display: flex;
72
  justify-content: center;
73
  align-items: flex-start;
74
- gap: 40px;
75
  }
76
 
77
  .chat-box,
@@ -116,3 +116,15 @@ button:hover {
116
  gap: 0.5rem;
117
  margin-bottom: 1rem;
118
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  display: flex;
72
  justify-content: center;
73
  align-items: flex-start;
74
+ gap: 2rem;
75
  }
76
 
77
  .chat-box,
 
116
  gap: 0.5rem;
117
  margin-bottom: 1rem;
118
  }
119
+
120
+ @media (max-width: 1100px) {
121
+ .chat-container {
122
+ display: flex;
123
+ flex-direction: column;
124
+ gap: 2rem;
125
+ }
126
+
127
+ .chat-box, .response-box {
128
+ width: 100%;
129
+ }
130
+ }