aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/WidgetParts
Commit message (Collapse)AuthorAgeFilesLines
* fix: prevent cropped plus/minus icon on widgets (#8)Armand Philippot2022-02-181-0/+1
| | | | Because of the default padding on button element, in some browsers the plus/minus icon on widgets was cropped.
* chore: adjust spacings, overflow and transitions of widgetsArmand Philippot2022-02-121-9/+9
|
* fix: prevent content to be printed before transition endArmand Philippot2022-02-111-2/+2
| | | | | | With `overflow-y: hidden`, the content was printed before the max height transition end. Switching to `overflow: hidden` fixed this issue.
* chore: improve widgetsArmand Philippot2022-02-103-59/+63
| | | | | | | | * Make all widgets expanded by default. This way, without Javascript, thematics and topics are still available. * Improve collapse/expand transition. * Remove widget scrollbar: the height was sometimes weird because of that. Except for ToC on large devices.
* chore: replace lingui functions with react-intlArmand Philippot2022-01-291-2/+11
|
* chore: update sidebar and widgets stylesArmand Philippot2022-01-157-0/+325
I'm now using a widget that can be expanded/collapsed. It also allows me to handle more effectively widgets overflow and to avoid styles repetitions. However, with stylelint rule "no-descending-specificity", I'm not sure if the stylesheets are really logical... Maybe I should deactivate this rule.