Skip to content

Enhancement on Edit Button UI #2010

@M4cr0Chen

Description

@M4cr0Chen

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.
Image

Solution1:
One simple solution is to specify the top and left padding to be p-1.5, result is as follows:

Image

Solution2:

Another one is to change the svg to one without the bottom right white line.

Image

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions