Refactor and use variables for CSS break size #4887

Closed
opened 2025-11-02 06:06:14 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @sapk on GitHub (Feb 18, 2020).

Like defined here: https://github.com/go-gitea/gitea/pull/10301#discussion_r380296673
On many part of our less code there is various size for break size definition. We should regroup them and the use same values everywhere and based on variables.

I open an issue because we should keep this in our TODO list.

Related #10348

Originally created by @sapk on GitHub (Feb 18, 2020). Like defined here: https://github.com/go-gitea/gitea/pull/10301#discussion_r380296673 On many part of our less code there is various size for break size definition. We should regroup them and the use same values everywhere and based on variables. I open an issue because we should keep this in our TODO list. Related #10348
GiteaMirror added the topic/uiissue/confirmedtype/refactoring labels 2025-11-02 06:06:14 -06:00
Author
Owner

@stale[bot] commented on GitHub (Apr 18, 2020):

This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.

@stale[bot] commented on GitHub (Apr 18, 2020): This issue has been automatically marked as stale because it has not had recent activity. I am here to help clear issues left open even if solved or waiting for more insight. This issue will be closed if no further activity occurs during the next 2 weeks. If the issue is still valid just add a comment to keep it alive. Thank you for your contributions.
Author
Owner

@wxiaoguang commented on GitHub (Apr 15, 2025):

The UI part (CSS) has been improved a lot, and we don't use "less" anymore.

In most cases, it's better to just "wrap", use "grid" and "flex", do not use too many unnecessary "break sizes"

@wxiaoguang commented on GitHub (Apr 15, 2025): The UI part (CSS) has been improved a lot, and we don't use "less" anymore. In most cases, it's better to just "wrap", use "grid" and "flex", do not use too many unnecessary "break sizes"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#4887