anki/ts/card-info
Henrik Giesel ab6a68ec49
Introduce our own Container, Row, and Col components (#1495)
* Refactor out Placeholder from CardInfo.svelte

* Add breakpoint parameter for Container

- Use `Container` component inside `TitledContainer`

* Build Item into Row

- Use Row in DeckOptionsPage instead of just Item

* Reengineer Container/Row/Col CSS

* Inline Badges next to Labels when Lable spans multiple rows

* Adjust margins for mobile

* Implement Col component breakpoints

* Move card-info to use new Container and Row components

* Join StickyHeader and StickyFooter to StickyContainer

* Remove default middle vertical-alignment for Badges again

* Satisfy tests

* Restore inline gutters in change-notetype Mapper

* Add some comment to Col and Container

* Fix breaking behavior in DeckOptionsPage when multi-column

* Add back toolbar left padding to counter-act buttongroup right margins

* Make Label in SwitchRow take more of available space
2021-11-17 13:49:52 +10:00
..
BUILD.bazel pass ts deps into most Svelte packages; remove redundant deps 2021-10-18 12:44:31 +10:00
card-info-base.scss Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
card-info.html fix card info layout & test code 2021-11-12 16:24:08 +10:00
CardInfo.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
CardInfoPlaceholder.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
CardStats.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
index.ts Move update logic into CardInfo.svelte 2021-10-18 09:01:24 +02:00
lib.ts Use trailingComma: all setting in .prettierrc (#1435) 2021-10-19 09:06:00 +10:00
Revlog.svelte Introduce our own Container, Row, and Col components (#1495) 2021-11-17 13:49:52 +10:00
tsconfig.json Switch CardInfoDialog to ts page (#1414) 2021-10-14 19:22:47 +10:00