[PR #2264] [MERGED] File path tweaks in UI #16315

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2264
Author: @silverwind
Created: 8/5/2017
Status: Merged
Merged: 8/6/2017
Merged by: @appleboy

Base: masterHead: path-ellipsis


📝 Commits (1)

📊 Changes

3 files changed (+20 additions, -6 deletions)

View changed files

📝 public/css/index.css (+7 -0)
📝 public/less/_base.less (+7 -0)
📝 templates/repo/home.tmpl (+6 -6)

📄 Description

  • Adjust file path to wrap at 30 chars instead of 25/15.
  • Allow text selection of path. No idea why Semantic UI blocks selection on those, so I overrode it.
  • Turn a few <div>s into <span>s so that copied text from the path does not include newlines.

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/2264 **Author:** [@silverwind](https://github.com/silverwind) **Created:** 8/5/2017 **Status:** ✅ Merged **Merged:** 8/6/2017 **Merged by:** [@appleboy](https://github.com/appleboy) **Base:** `master` ← **Head:** `path-ellipsis` --- ### 📝 Commits (1) - [`86f4a12`](https://github.com/go-gitea/gitea/commit/86f4a12fbcab70721836aacfead1cb7145ddf814) File path tweaks in UI ### 📊 Changes **3 files changed** (+20 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `public/css/index.css` (+7 -0) 📝 `public/less/_base.less` (+7 -0) 📝 `templates/repo/home.tmpl` (+6 -6) </details> ### 📄 Description - Adjust file path to wrap at 30 chars instead of 25/15. - Allow text selection of path. No idea why Semantic UI blocks selection on those, so I overrode it. - Turn a few `<div>`s into `<span>`s so that copied text from the path does not include newlines. ### Before <img width="826" src="https://user-images.githubusercontent.com/115237/28996206-a4d53e3e-79fb-11e7-89be-43cd9d1d3ec5.png"> ### After <img width="826" src="https://user-images.githubusercontent.com/115237/28996207-adacf470-79fb-11e7-9cdd-6ad2d9f26e72.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:30 -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#16315