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
* giteaofficial/main:
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)
Add empty repo check in `DetectAndHandleSchedules` (go-gitea#29606)
Fix contributor graphs mobile layout and responsiveness (go-gitea#29597)
Skip email domain check when admin users adds user manually (go-gitea#29522)
Replace more `gt-` with `tw-`, update frontend docs (go-gitea#29595)
Remove unnecessary ctxData for "attachments" template (go-gitea#29600)
Adjust tailwind content globs (go-gitea#29596)
Use flex wrap to layout the PR update button (go-gitea#29590)
Make "/user/login" page redirect if the current user has signed in (go-gitea#29583)
[skip ci] Updated translations via Crowdin
Fix projects mode bugs (go-gitea#29593)
Regenerate fomantic lockfile and build it with our browserslist (go-gitea#29560)
Do not exceed display for the PR page buttons on smaller screens (go-gitea#29418)
Add aria-label to the navbar menu button (go-gitea#29587)
Copy file name to clipboardExpand all lines: docs/content/contributing/guidelines-frontend.en-us.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
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