[UI] ui class of repository-summary : top and bottom borders are not aligned #5073

Closed
opened 2025-11-02 06:13:26 -06:00 by GiteaMirror · 6 comments
Owner

Originally created by @everhopingandwaiting on GitHub (Mar 18, 2020).

  • Gitea version (or commit ref): 1.12.0+dev-24-ged5140d23
  • Git version: 2.24
  • Operating system: docker
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

ui class of repository-summary : top and bottom borders are not aligned

suggestion:


.repository .repository-summary {
    /* height: 48px; */
    overflow: hidden;

...
before
image

after
image

Screenshots

Originally created by @everhopingandwaiting on GitHub (Mar 18, 2020). - Gitea version (or commit ref): 1.12.0+dev-24-ged5140d23 - Git version: 2.24 - Operating system: docker - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [x] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [ ] No - [x] Not relevant - Log gist: ## Description ui class of repository-summary : top and bottom borders are not aligned suggestion: ```css .repository .repository-summary { /* height: 48px; */ overflow: hidden; ``` ... before ![image](https://user-images.githubusercontent.com/6021724/76928319-16c17780-691c-11ea-99df-ddc731db24cb.png) after ![image](https://user-images.githubusercontent.com/6021724/76928287-fbef0300-691b-11ea-84cc-4f604ffbbc70.png) ## Screenshots
GiteaMirror added the topic/ui label 2025-11-02 06:13:26 -06:00
Author
Owner

@everhopingandwaiting commented on GitHub (Mar 18, 2020):

if looks good to you , I will give a pr later

@everhopingandwaiting commented on GitHub (Mar 18, 2020): if looks good to you , I will give a pr later
Author
Owner

@silverwind commented on GitHub (Mar 18, 2020):

Issue is .repository-summary is also used on the main repo page where this explicit height is needed to for https://github.com/go-gitea/gitea/issues/10474. I'd suggest renaming the one one the main page to .repository-summary-with-languages and move the 48px style to that name as well. Or maybe find a shorter name if you have one in mind.

@silverwind commented on GitHub (Mar 18, 2020): Issue is `.repository-summary` is also used on the main repo page where this explicit height is needed to for https://github.com/go-gitea/gitea/issues/10474. I'd suggest renaming the one one the main page to `.repository-summary-with-languages` and move the `48px` style to that name as well. Or maybe find a shorter name if you have one in mind.
Author
Owner

@everhopingandwaiting commented on GitHub (Mar 20, 2020):

@silverwind Thanks for your advice , I found when remove the 48px from .repository-summary, the main repo page seems looks good!
can I just to remove this ? not add a new css name just like .repository-summary-with-languages ?

image

@everhopingandwaiting commented on GitHub (Mar 20, 2020): @silverwind Thanks for your advice , I found when remove the 48px from `.repository-summary`, the main repo page seems looks good! can I just to remove this ? not add a new css name just like `.repository-summary-with-languages` ? ![image](https://user-images.githubusercontent.com/6021724/77151951-f1766a00-6ad1-11ea-9c44-53bf8978c2cf.png)
Author
Owner

@silverwind commented on GitHub (Mar 20, 2020):

Removing it will re-introduce https://github.com/go-gitea/gitea/issues/10474. I will take a look later.

@silverwind commented on GitHub (Mar 20, 2020): Removing it will re-introduce https://github.com/go-gitea/gitea/issues/10474. I will take a look later.
Author
Owner

@everhopingandwaiting commented on GitHub (Mar 20, 2020):

@silverwind sorry , I don`t have a full dev environment,
Some code dependencies are not well checked

@everhopingandwaiting commented on GitHub (Mar 20, 2020): @silverwind sorry , I don`t have a full dev environment, Some code dependencies are not well checked
Author
Owner

@everhopingandwaiting commented on GitHub (Mar 26, 2020):

already fixed by #10754,

@everhopingandwaiting commented on GitHub (Mar 26, 2020): already fixed by #10754,
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#5073