Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shrink view url hooks #15443

Closed
tomaswarynyca opened this issue Apr 13, 2021 · 4 comments · Fixed by #16087
Closed

Shrink view url hooks #15443

tomaswarynyca opened this issue Apr 13, 2021 · 4 comments · Fixed by #16087
Labels
good first issue Likely to be an easy fix topic/ui Change the appearance of the Gitea UI

Comments

@tomaswarynyca
Copy link
Contributor

tomaswarynyca commented Apr 13, 2021

When adding a hook the url should have a fixed size to avoid moving the action buttons.
Url: org/orgname/settings/hooks

Captura realizada el 2021-04-13 00 34 55

@lunny lunny added the topic/ui Change the appearance of the Gitea UI label Apr 13, 2021
@silverwind
Copy link
Member

Can probably use ellipsis overflow there.

@zeripath zeripath added the good first issue Likely to be an easy fix label Apr 14, 2021
@justusbunsi
Copy link
Member

Would this do it for you? Instead of shrinking the hook url just prevent the button from moving around. The url would flow between the dot on the left and the buttons on the right. If it's ok, I can open a PR to fix this issue.

image

@zeripath
Copy link
Contributor

zeripath commented Jun 6, 2021

Just use a truncate and ellipsis with a title attribute containing the full content. that's the simplest way to solve this

@justusbunsi
Copy link
Member

Just use a truncate and ellipsis with a title attribute containing the full content. that's the simplest way to solve this

Uh. Didn't noticed there is already a .truncate css class. Thanks for the hint.

@go-gitea go-gitea locked and limited conversation to collaborators Oct 19, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
good first issue Likely to be an easy fix topic/ui Change the appearance of the Gitea UI
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants