mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-01 05:36:19 +01:00
fix typo
This commit is contained in:
parent
f092f19a65
commit
b0c049427b
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ We recommend [Google HTML/CSS Style Guide](https://google.github.io/styleguide/h
|
|||
|
||||
Guidelines specialized for Gitea:
|
||||
|
||||
1. Every feature (Fomantic-UI/jQuery module) should be put in separate files/ directories.
|
||||
1. Every feature (Fomantic-UI/jQuery module) should be put in separate files/directories.
|
||||
2. HTML ids and classes should use kebab-case.
|
||||
3. HTML ids and classes used in JavaScript should be unique for the whole project, and should contain 2-3 feature related keywords. We recommend to use the `js-` prefix for classes that are only used in JavaScript.
|
||||
4. jQuery events across different features should use their own namespaces.
|
||||
|
|
Loading…
Reference in a new issue