heimoshuiyu / chatgpt-api-web

纯前端灵车项目,调用 OpenAI API ChatGPT 进行对话。
https://heimoshuiyu.github.io/chatgpt-api-web/
29 stars 5 forks source link

Refactor UI Design with DaisyUI #2

Closed ecwu closed 3 months ago

ecwu commented 3 months ago

A build example can found here: https://ecwuuuuu.com/chatgpt-api-web/

heimoshuiyu commented 3 months ago

Great PR! Appreciated

However, I noticed that when the window width is between 1024-1333px, the top status bar causes overflow.

Additionally, I think the font size of the top status bar is too large. Removing the column-gap from the .stat class and adjusting the font-size of .stat-value to around 1.39rem can avoid this issue. This is just my suggestion, and it may also be necessary to center the top status bar... If you have any other better methods, feel free to suggest them.

heimoshuiyu commented 3 months ago

Screenshot_20240717_121116

Would you mind adjusting the rounded radius or padding here? It looks a bit too round and the font is overlapping with the border.

ecwu commented 3 months ago

Screenshot_20240717_121116

Would you mind adjusting the rounded radius or padding here? It looks a bit too round and the font is overlapping with the border.

the round corner seems normal on a mobile device, will change the style on the larger screen. For the Stats banner, the easier way is to scale down the font size for value and reduce the padding, but I am not willing to customize too much on topic of the daisy components. I will try to design this part.

ecwu commented 3 months ago

fixed & update via 08a7670

  1. New textarea style:

image

  1. New top navbar

image

heimoshuiyu commented 3 months ago

LGTM!