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 drag
* origin/main: (108 commits)
Fix table alignment classes (go-gitea#30144)
Add default board to new projects, remove uncategorized pseudo-board (go-gitea#29874)
Fix loading spinner on ContextPopup (go-gitea#30145)
Fix download buttons on branches page (go-gitea#30147)
Relax generic package filename restrictions (go-gitea#30135)
Remove jQuery class from the common admin functions (go-gitea#30137)
Remove jQuery class from the reaction selector (go-gitea#30138)
Forbid jQuery `.attr` (go-gitea#30116)
Refactor render (go-gitea#30136)
Fix: Organization Interface Display Issue (go-gitea#30133)
Remove jQuery `.attr` from the Fomantic dropdowns (go-gitea#30114)
Remove jQuery `.attr` from the common admin functions (go-gitea#30115)
Remove jQuery from the create/rename branch modals (except Fomantic) (go-gitea#30109)
Remove fomantic label module (go-gitea#30081)
Fix bug for markdown rendering of blockquote (go-gitea#30130)
Fix: The interface is broken when modifying code comments under mobile devices (go-gitea#30125)
When the title in the issue has a value, set the text cursor at the end of the text. (go-gitea#30090)
Load attachments for code comments (go-gitea#30124)
Upgrade fabric to 6.0.0-beta20 (go-gitea#30121)
Fix click handler in job-step-summary (go-gitea#30122)
...
[](https://discord.gg/Gitea"Join the Discord chat at https://discord.gg/Gitea")
[](https://discord.gg/Gitea"Join the Discord chat at https://discord.gg/Gitea")
Copy file name to clipboardExpand all lines: docs/content/contributing/guidelines-frontend.en-us.md
+2-2Lines changed: 2 additions & 2 deletions
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. 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`).
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-mono`), 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.
52
52
53
53
### Accessibility / ARIA
@@ -118,7 +118,7 @@ However, there are still some special cases, so the current guideline is:
118
118
### Show/Hide Elements
119
119
120
120
* Vue components are recommended to use `v-if` and `v-show` to show/hide elements.
121
-
* Go template code should use Gitea's `.gt-hidden` and `showElem()/hideElem()/toggleElem()`, see more details in `.gt-hidden`'s comment.
121
+
* Go template code should use `.tw-hidden` and `showElem()/hideElem()/toggleElem()`, see more details in `.tw-hidden`'s comment.
0 commit comments