[PR #3193] [MERGED] Improve suppressed diff boxes #16822

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3193
Author: @silverwind
Created: 12/14/2017
Status: Merged
Merged: 12/14/2017
Merged by: @lafriks

Base: masterHead: better-hidden-contents


📝 Commits (1)

  • 2fc8998 Improve suppressed diff boxes

📊 Changes

4 files changed (+20 additions, -10 deletions)

View changed files

📝 public/css/index.css (+1 -1)
📝 public/less/_base.less (+3 -0)
📝 public/less/_repository.less (+1 -1)
📝 templates/repo/diff/box.tmpl (+15 -8)

📄 Description

Some general improvements to the suppressed diff boxes:

  • Made text fit on one line
  • Added the "View file" button
  • Added rounded borders around the box using a new CSS helper class
  • Fixed an unclear issue with the diff bars where they would not render the green part

Before

screen shot 2017-12-14 at 18 50 31

After

screen shot 2017-12-14 at 19 15 33

🔄 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/3193 **Author:** [@silverwind](https://github.com/silverwind) **Created:** 12/14/2017 **Status:** ✅ Merged **Merged:** 12/14/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `better-hidden-contents` --- ### 📝 Commits (1) - [`2fc8998`](https://github.com/go-gitea/gitea/commit/2fc899856655de2151bc4d091841602bac1ffba4) Improve suppressed diff boxes ### 📊 Changes **4 files changed** (+20 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `public/css/index.css` (+1 -1) 📝 `public/less/_base.less` (+3 -0) 📝 `public/less/_repository.less` (+1 -1) 📝 `templates/repo/diff/box.tmpl` (+15 -8) </details> ### 📄 Description Some general improvements to the suppressed diff boxes: - Made text fit on one line - Added the "View file" button - Added rounded borders around the box using a new CSS helper class - Fixed an unclear issue with the diff bars where they would not render the green part #### Before <img width="1068" alt="screen shot 2017-12-14 at 18 50 31" src="https://user-images.githubusercontent.com/115237/34007769-47c13a94-e103-11e7-903e-003dfd057d42.png"> #### After <img width="1069" alt="screen shot 2017-12-14 at 19 15 33" src="https://user-images.githubusercontent.com/115237/34007770-47dbb05e-e103-11e7-8a1d-a422110580f5.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:19:53 -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#16822