Skip to content

Commit

Permalink
Fixed some styles && updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Avdushin committed Jul 6, 2023
1 parent 7173f99 commit a3d6a60
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 19 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ go install github.com/wailsapp/wails/v2/cmd/wails@latest

```bash
cd DOBROAI/frontend && npm i
cd ..
cd .. && npm i
wails dev
или
wails build # (в папке `build/bin` появится ваш бинарник - не забудьте переместить в неё файл .env с вашим openai токеном)
Expand Down
24 changes: 7 additions & 17 deletions frontend/src/App.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* @import 'react-markdown/styles.css'; */

:root {
--link: #fff;
--text: #373737;
Expand All @@ -11,13 +9,6 @@

/* ==== General ==== */

body::-webkit-scrollbar-thumb {
background-color: red;
border: 4px solid transparent;
border-radius: 8px;
background-clip: padding-box;
}

a {
text-decoration: none;
color: var(--link);
Expand All @@ -31,6 +22,12 @@ textarea {
padding: 4px 0;
}

ul,
li {
list-style: none;
text-align: left;
}

/* ==== App ==== */

.gpt {
Expand All @@ -51,7 +48,7 @@ textarea {
justify-content: center;
align-items: flex-end;
margin-top: auto;
margin-bottom: 200px;
margin-bottom: 130px;
gap: 5px;
}

Expand All @@ -65,7 +62,6 @@ textarea {
width: 50%;
height: 50%;
margin: auto;
/* padding: 10% 0 0; */
background-position: center;
background-repeat: no-repeat;
background-size: 100% 100%;
Expand Down Expand Up @@ -128,12 +124,6 @@ textarea {
padding: 0 15px;
}

ul,
li {
list-style: none;
text-align: left;
}

.q {
font-weight: 700;
margin-top: 5px;
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func main() {

// Create application with options
err := wails.Run(&options.App{
Title: "DOBROAI",
Title: "DOBROAI - клиент ChatGPT",
Width: 1024,
Height: 768,
AssetServer: &assetserver.Options{
Expand Down

0 comments on commit a3d6a60

Please sign in to comment.