-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Use whole button (commit graph) as link #1390
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
Conversation
\cc @geek1011 @Fastidious |
It would help if this was accompanied by a screenshot. You know, "an image is worth..." |
@Fastidious Sure, updated with screenshots. Hope its clear now. Thx. |
@Morlinest thanks. |
@@ -5,14 +5,12 @@ | |||
<div class="ui secondary menu"> | |||
{{template "repo/branch_dropdown" .}} | |||
<div class="fitted item"> | |||
<div class="ui basic small button"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this div should not be removed, just the class.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need div without any attributes just to wrap one element? Inspired by menu/list (no problem to change, tested with div and works same).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean, you removed the head <div>
but not the tail </div>
.
I think it's okay to remove, though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I removed both div tags and moved class attribute from div to a. Am I missing something? I did not do formatting so the change stays clear.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, sorry. I think I looked too fast.
LGTM |
LGTM |
Thank you very much |
Update html template to use whole button as link, not only text inside button.
Before:

After:
