[PR #2477] [MERGED] Fix #2470 #16419

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2477
Author: @Albert221
Created: 9/9/2017
Status: Merged
Merged: 9/10/2017
Merged by: @bkcsoft

Base: masterHead: view-file-fix


📝 Commits (3)

📊 Changes

3 files changed (+30 additions, -8 deletions)

View changed files

📝 public/css/index.css (+12 -0)
📝 public/less/_repository.less (+12 -0)
📝 templates/repo/diff/box.tmpl (+6 -8)

📄 Description

It fixes #2470. I've used flexbox to do that which has the same (or better) browser compatibility as Semantic UI. It looks like this:

image
image

The only needed thing is to compile LESS to CSS which I couldn't do because I couldn't find any instructions to it. Maybe you should provide them?


🔄 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/2477 **Author:** [@Albert221](https://github.com/Albert221) **Created:** 9/9/2017 **Status:** ✅ Merged **Merged:** 9/10/2017 **Merged by:** [@bkcsoft](https://github.com/bkcsoft) **Base:** `master` ← **Head:** `view-file-fix` --- ### 📝 Commits (3) - [`2610958`](https://github.com/go-gitea/gitea/commit/26109586f28ddbc25d7804059421699f263533ee) Fix #2470 - [`1ae118c`](https://github.com/go-gitea/gitea/commit/1ae118c377cd4f711e42650cbfff88ba17489b3f) Add CSS file - [`838b7f7`](https://github.com/go-gitea/gitea/commit/838b7f7096090a0f63595202dc3884d8e89e4cda) Merge branch 'master' into view-file-fix ### 📊 Changes **3 files changed** (+30 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `public/css/index.css` (+12 -0) 📝 `public/less/_repository.less` (+12 -0) 📝 `templates/repo/diff/box.tmpl` (+6 -8) </details> ### 📄 Description It fixes #2470. I've used flexbox to do that which has the same (or better) browser compatibility as Semantic UI. It looks like this: ![image](https://user-images.githubusercontent.com/4085280/30241222-74f0cafe-957f-11e7-8cc8-d545077850ea.png) ![image](https://user-images.githubusercontent.com/4085280/30241226-80963754-957f-11e7-90da-e9ae33070745.png) The only needed thing is to compile LESS to CSS which I couldn't do because I couldn't find any instructions to it. Maybe you should provide them? --- <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:10:12 -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#16419