-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Issue:
I've come accrossed the DocsGPT's UI and noticed a small nitpicking detail that I want to point out.
Explanation:
The Edit button besides the user's question looks like it is slightly (pixel level) closer to the bottom right corner instead of being centered.
This is because the edit.svg has a white, horizontal bar at the bottom right of the svg, which shifts the "center of gravity" of the icon a little bit towards bottom right.
![]()
Solution1:
One simple solution is to specify the top and left padding to be p-1.5, result is as follows:
Solution2:
Another one is to change the svg to one without the bottom right white line.
Please let me know if this needs a change and if so which approach you think works out better :) Whenever you're ready I can pull up a PR for you to review.