Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ide/src/Chatitor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ function Chatitor({
);
const promptHint = (
<div style={{
width: '48em',
width: '100%',
textAlign: 'right',
margin: '0.3em auto',
transition: isFocused ? 'opacity 0.2s 1s ease-in' : 'opacity 0.2s ease-in',
Expand Down
20 changes: 5 additions & 15 deletions ide/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,24 +39,15 @@ and overriding of rules. */
}

.chat-scroll {
width: 100%;
overflow: auto;
display: flex;
flex-direction: column;
width: calc(min(100%, 60em) - 20px);
margin: 0 auto;
}

.chat-layout-compact .chats,
.chat-layout-normal .chats {
margin: 2em auto;
}

.chat-layout-compact .chats {
width: 70em;
min-width: 40em;
}
.chat-layout-normal .chats {
min-width: 40em;
max-width: min(70%, 60em);
.chats {
margin: 2em;
}

.chat-layout-compact .chat .CodeMirror,
Expand Down Expand Up @@ -172,8 +163,7 @@ and overriding of rules. */
}

.prompt {
width: 45em;
margin: 0 auto;
margin: 0 4em 0 2em;
position: relative;
}
.send-button {
Expand Down