[PR #2267] [MERGED] More tweaks to repo top panel #16317

Closed
opened 2025-11-02 12:07:33 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2267
Author: @silverwind
Created: 8/6/2017
Status: Merged
Merged: 8/13/2017
Merged by: @andreynering

Base: masterHead: repo-ui-tweaks


📝 Commits (4)

  • f885223 More tweaks to repo top panel
  • 102b3c8 undo hiding of compare button on master
  • 089e694 attempt to fix ci issue
  • 63410d6 another ci attempt

📊 Changes

5 files changed (+19 additions, -23 deletions)

View changed files

📝 integrations/pull_create_test.go (+1 -1)
📝 public/css/index.css (+4 -1)
📝 public/less/_repository.less (+7 -1)
📝 templates/repo/branch_dropdown.tmpl (+1 -1)
📝 templates/repo/home.tmpl (+6 -19)

📄 Description

This includes various tweaks to the repo top panel.

  • Unify the button and clone panel size in the panel and center them better vertically.
  • Hide the green compare button when the comparison would compare same branches, e.g. master..master
  • Remove whitespace around the path so a path is copied as-is and without extra spaces between segments. This results in less readability in the template, but it's necessary. In the long run, minfiying HTML would be a better solution to avoid creation of empty text nodes.

Before

After


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2267 **Author:** [@silverwind](https://github.com/silverwind) **Created:** 8/6/2017 **Status:** ✅ Merged **Merged:** 8/13/2017 **Merged by:** [@andreynering](https://github.com/andreynering) **Base:** `master` ← **Head:** `repo-ui-tweaks` --- ### 📝 Commits (4) - [`f885223`](https://github.com/go-gitea/gitea/commit/f885223155122854b0df01bbbb9a018ffb25df99) More tweaks to repo top panel - [`102b3c8`](https://github.com/go-gitea/gitea/commit/102b3c809b173363c5cbc4227a0bb458db51100b) undo hiding of compare button on master - [`089e694`](https://github.com/go-gitea/gitea/commit/089e694dc37344c02915ed277eb267a462aba43a) attempt to fix ci issue - [`63410d6`](https://github.com/go-gitea/gitea/commit/63410d6c42ba66c56673c43bd3cbb0dad449b689) another ci attempt ### 📊 Changes **5 files changed** (+19 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `integrations/pull_create_test.go` (+1 -1) 📝 `public/css/index.css` (+4 -1) 📝 `public/less/_repository.less` (+7 -1) 📝 `templates/repo/branch_dropdown.tmpl` (+1 -1) 📝 `templates/repo/home.tmpl` (+6 -19) </details> ### 📄 Description This includes various tweaks to the repo top panel. - Unify the button and clone panel size in the panel and center them better vertically. - ~~Hide the green compare button when the comparison would compare same branches, e.g. `master..master`~~ - Remove whitespace around the path so a path is copied as-is and without extra spaces between segments. This results in less readability in the template, but it's necessary. In the long run, minfiying HTML would be a better solution to avoid creation of empty text nodes. #### Before <img width="1143" src="https://user-images.githubusercontent.com/115237/29001908-f3efd2c8-7a95-11e7-8f0b-37c04d9301d3.png"> #### After <img width="1147" src="https://user-images.githubusercontent.com/115237/29001911-109b2a94-7a96-11e7-85f2-727ab8121d65.png"> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:07:33 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16317