You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge remote-tracking branch 'origin/main' into overflow-menu
* origin/main: (29 commits)
Tweak actions color and borders (go-gitea#29640)
Add download URL for executable files (go-gitea#28260)
Move all login and account creation page labels to be above inputs (go-gitea#29432)
Avoid issue info panic (go-gitea#29625)
Cache repository default branch commit status to reduce query on commit status table (go-gitea#29444)
Avoid unexpected panic in graceful manager (go-gitea#29629)
Add a link for the recently pushed branch notification (go-gitea#29627)
Fix wrong header of org project view page (go-gitea#29626)
Detect broken git hooks (go-gitea#29494)
Sync branches to DB immediately when handle git hook calling (go-gitea#29493)
Fix wrong line number in code search result (go-gitea#29260)
Make wiki default branch name changable (go-gitea#29603)
A small refactor for agit implementation (go-gitea#29614)
Update Twitter Logo (go-gitea#29621)
Fix 500 error when adding PR comment (go-gitea#29622)
Run editorconfig-checker on `locale_en-US.ini` (go-gitea#29608)
bump protobuf module (go-gitea#29617)
Add ac claim for old docker/build-push-action@v3 / current buildx gha cache (go-gitea#29584)
Skip email domain check when admins edit user emails (go-gitea#29609)
Improve natural sort (go-gitea#29611)
...
Copy file name to clipboardExpand all lines: docs/content/contributing/guidelines-frontend.en-us.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ We recommend [Google HTML/CSS Style Guide](https://google.github.io/styleguide/h
47
47
9. Avoid unnecessary `!important` in CSS, add comments to explain why it's necessary if it can't be avoided.
48
48
10. Avoid mixing different events in one event listener, prefer to use individual event listeners for every event.
49
49
11. Custom event names are recommended to use `ce-` prefix.
50
-
12. Gitea's tailwind-style CSS classes use `gt-` prefix (`gt-relative`), while Gitea's own private framework-level CSS classes use `g-` prefix (`g-modal-confirm`).
50
+
12.Prefer using Tailwind CSS which is available via `tw-` prefix, e.g. `tw-relative`. Gitea's helper CSS classes use `gt-` prefix (`gt-df`), while Gitea's own private framework-level CSS classes use `g-` prefix (`g-modal-confirm`).
51
51
13. Avoid inline scripts & styles as much as possible, it's recommended to put JS code into JS files and use CSS classes. If inline scripts & styles are unavoidable, explain the reason why it can't be avoided.
0 commit comments