Abbreviated class names are not included in the documentation
Describe the bug The documentation only mentions the full class names. This means that reading the documentation gives no indication of the meaning of the abbreviated class names. Currently the abbreviations can only be found by searching the code.
For example:
The documentation mentions the class has-padding-vertical-2 in Box styles, but does not mention that this can be abbreviated to h-p-v-2.
Could the abbreviated class names be included somewhere in the documentation? Since the meanings are not obvious, perhaps it would be helpful to include them in 2 places:
- In context in the current documentation, alongside their corresponding unabbreviated class names.
- In a separate "glossary" that lists all the abbreviated class names in alphabetical order, each showing its corresponding unabbreviated class name.
Oh! That explains why I've been unable to find the doc on some of those names...
Took me quite a while to realise that I wasn't going to find what I was looking for in the documentation...
Until this is fixed, I'm finding the browser developer tools useful as a substitute: Select the relevant part of the HTML and all the relevant CSS styles are listed, along with the class names and where they can be found in the code. The unused full name is also listed alongside (since it is defined in the same place in the code) but crossed out because it isn't used. Now that I know this I can look up the full name in the documentation (and also the full name usually tells me what I need to know already).
Example screenshot of the Firefox developer tools (Chromium based developer tools are probably fairly similar looking):