* feat: add rule widget * add star to init Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com> * remove unnecessary validations * update rule styles * add tests for invalid rules * add minimum heights and widths * tidy up examples * remove old example * move examples styling to tcss * modify examples to fit docs screenshots * add docs first draft * add snapshot tests * add rule to widget gallery * make non-widget rule classes available * tentatively update changelog --------- Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com> Co-authored-by: Will McGugan <willmcgugan@gmail.com>
13 lines
137 B
Text
13 lines
137 B
Text
Screen {
|
|
align: center middle;
|
|
}
|
|
|
|
Vertical {
|
|
height: auto;
|
|
width: 80%;
|
|
}
|
|
|
|
Label {
|
|
width: 100%;
|
|
text-align: center;
|
|
}
|