forked from safak/chatgpt-clone
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust the padding for the chat bubbles
Still not perfect solution, moved around the padding-bottom: 100px in the different CSS files, but when the bot is populating the next bubbles it still squeezes to the right. #4
- Loading branch information
1 parent
99a7109
commit 18d2973
Showing
2 changed files
with
61 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,52 +1,50 @@ | ||
.endChat{ | ||
padding-bottom: 100px; | ||
.newForm { | ||
/* Accounts for sidebar width + gap */ | ||
width: calc(100% - 0.65 * (100vw - 50px)); | ||
position: fixed; | ||
bottom: 40px; | ||
background-color: #2c2937; | ||
border-radius: 20px; | ||
display: flex; | ||
align-items: center; | ||
gap: 20px; | ||
padding: 0px 20px; | ||
|
||
input { | ||
flex: 1; | ||
padding: 20px; | ||
border: none; | ||
outline: none; | ||
background-color: transparent; | ||
color: #ececec; | ||
} | ||
|
||
textarea { | ||
flex: 1; | ||
padding: 20px; | ||
border: none; | ||
outline: none; | ||
background-color: transparent; | ||
color: #ececec; | ||
resize: none; | ||
font-family: inherit; | ||
font-size: 14px; | ||
} | ||
.newForm{ | ||
/* Accounts for sidebar width + gap */ | ||
width: calc(100% - 0.65 * (100vw - 50px)); | ||
position: fixed; | ||
bottom: 40px; | ||
background-color: #2c2937; | ||
border-radius: 20px; | ||
display: flex; | ||
align-items: center; | ||
gap: 20px; | ||
padding: 0px 20px; | ||
|
||
input{ | ||
flex:1; | ||
padding:20px; | ||
border: none; | ||
outline: none; | ||
background-color: transparent; | ||
color: #ececec; | ||
} | ||
|
||
textarea{ | ||
flex:1; | ||
padding:20px; | ||
border: none; | ||
outline: none; | ||
background-color: transparent; | ||
color: #ececec; | ||
resize: none; | ||
font-family: inherit; | ||
font-size: 14px; | ||
} | ||
|
||
button,label{ | ||
border-radius: 50%; | ||
background-color: #605e68; | ||
border: none; | ||
padding: 10px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
cursor: pointer; | ||
|
||
img{ | ||
width: 16px; | ||
height: 16px; | ||
} | ||
} | ||
} | ||
button, | ||
label { | ||
border-radius: 50%; | ||
background-color: #605e68; | ||
border: none; | ||
padding: 10px; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
cursor: pointer; | ||
|
||
img { | ||
width: 16px; | ||
height: 16px; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters