mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-05-25 19:17:19 +08:00
Rework repo buttons (#20602)
* Rework repo buttons - Replace "New PR" and "Go to File" button with Icon Button - Move all "Add File" actions into a dropdown button - Remove most custom styling of clone buttons - Margin and wiki tweaks Buttons are now all equal height, mobile layout wraps gracefully. Fixes: https://github.com/go-gitea/gitea/issues/13671 Replaces: https://github.com/go-gitea/gitea/pull/20375 Co-authored-by: Lauris BH <lauris@nix.lv> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
@ -67,7 +67,7 @@ export function initRepoCloneLink() {
|
||||
window.updateCloneStates();
|
||||
});
|
||||
|
||||
$inputLink.on('click', () => {
|
||||
$inputLink.on('focus', () => {
|
||||
$inputLink.select();
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user