Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better styling for the superprompt bar #82

Merged
merged 3 commits into from
Jul 22, 2023
Merged
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
19 changes: 17 additions & 2 deletions index.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
*,
*::before,
*::after {
box-sizing: border-box;
}

body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
Arial, sans-serif;
Expand Down Expand Up @@ -62,19 +68,28 @@ body {
}
#form textarea {
width: 100%;
height: 80px;
height: 100%;
resize: none;
overflow-y: auto; /* Adds a scrollbar when the content is too big */
padding: 0 12px;
font-size: 16px;
outline: none;
background-color: bisque;
flex-grow: 1;
border-radius: 5px;
border: 0;
transition: background-color 0.3s ease-in-out;
}

#form textarea:focus {
background-color: #fff;
}

#form button {
margin: 0 4px;
margin-left: 4px;
padding: 0 12px;
border-radius: 5px;
border: 1px solid rgba(0, 0, 0, 0.2);
}

webview {
Expand Down