Skip to content

Commit

Permalink
Minor styling changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
ricklamers committed May 18, 2023
1 parent 49a6cd7 commit 605424f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 11 deletions.
3 changes: 2 additions & 1 deletion frontend/src/components/Sidebar.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 0.5rem;
padding: 0.75rem;
color: #fff;
}

Expand Down Expand Up @@ -53,6 +53,7 @@ select option {
button {
cursor: pointer;
margin-bottom: 0.5rem;
background: #74a89b;
}

label {
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ export default function Sidebar(props: {
</div>
<div className="settings">
<label className="header">Settings</label>
<label>Credentials</label>
<button onClick={handleOpenAIButtonClick}>Set OpenAI key</button>
<label>Model</label>
<select
value={props.selectedModel}
Expand All @@ -42,6 +40,8 @@ export default function Sidebar(props: {
);
})}
</select>
<label>Credentials</label>
<button onClick={handleOpenAIButtonClick}>Set OpenAI key</button>
</div>
</div>
</>
Expand Down
10 changes: 3 additions & 7 deletions frontend/src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
line-height: 1.5;
font-weight: 400;

color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
color: #213547;
background-color: #ffffff;

font-synthesis: none;
text-rendering: optimizeLegibility;
Expand Down Expand Up @@ -36,8 +35,5 @@ h1 {


@media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
}

}
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setup(
name='gpt_code_ui',
version='0.42.7',
version='0.42.8',
packages=find_packages(),
package_data={'gpt_code_ui.webapp': ['static/*', 'static/assets/*']},
install_requires=[
Expand Down

0 comments on commit 605424f

Please sign in to comment.