feat: use BaseButton where easily possible #1803

Merged
dpschen merged 7 commits from dpschen/frontend:feature/feat-use-BaseButton-where-possible into main 2022-07-06 21:07:27 +00:00

7 Commits

Author SHA1 Message Date
Dominik Pschenitschni d8588b9ca0
fix(quick-add-magic): use ButtonLink
continuous-integration/drone/pr Build is passing Details
2022-07-06 22:54:14 +02:00
Dominik Pschenitschni de84862742
fix(ListList): use ButtonLink 2022-07-06 22:54:14 +02:00
Dominik Pschenitschni 205530ce5f
feat(BaseButton): add target _blank for links by default 2022-07-06 22:54:14 +02:00
Dominik Pschenitschni a636d938b0
fix: add ButtonLink component
Add ButtonLink component to fix occasions where the BaseButton needs to be styled in a link color.
2022-07-06 22:54:14 +02:00
Dominik Pschenitschni adc14ffe2a
fix: button styling 2022-07-06 22:54:14 +02:00
Dominik Pschenitschni 206d74579f
feat: use BaseButton where easily possible
This replaces links with BaseButton components. BaseButton will use `<button type="button">` inside for this case. This improves accessibility a lot. Also we might be able to remove the `.stop` modifiers in some places because AFAIK the button element stops propagation by default.
2022-07-04 23:54:18 +02:00
Dominik Pschenitschni 47bb4ba5f4
feat: use inline-block for BaseButton 2022-07-04 23:54:18 +02:00