diff --git a/apps/web/app/abc/rekapitulace/page.tsx b/apps/web/app/abc/rekapitulace/page.tsx index f1eb620..c995590 100644 --- a/apps/web/app/abc/rekapitulace/page.tsx +++ b/apps/web/app/abc/rekapitulace/page.tsx @@ -15,10 +15,10 @@ export default function Page() { const answerNo = useQuestionsStore((state) => state.answerNo); return ( -
+
{/* rekapitulace header */} {/* sticky not working when scrolling over some portion of h */} -
+
{/* fix link wrap, should be link in style of a button! */} {/*Link to the last question "current quesiton" */} @@ -59,7 +59,7 @@ export default function Page() {
{/* main content */} -
+
{/* grid col 1 */} {/* replace with typo compoment */}

diff --git a/packages/design-system/config/padding.ts b/packages/design-system/config/padding.ts index 796ae6c..afe6ab5 100644 --- a/packages/design-system/config/padding.ts +++ b/packages/design-system/config/padding.ts @@ -5,6 +5,7 @@ const padding: Pick, "padding"> = { padding: { customDesktop: "calc(calc(1rem * 2) - calc(1rem / 16))", customMobile: "calc(1rem / 2 - 1rem / 16)", + custom: "calc(1rem - calc(1rem / 16))", }, }; diff --git a/packages/design-system/src/ui/recapitulationCard/recapitulationCard.tsx b/packages/design-system/src/ui/recapitulationCard/recapitulationCard.tsx index 63e64a5..2c8c311 100644 --- a/packages/design-system/src/ui/recapitulationCard/recapitulationCard.tsx +++ b/packages/design-system/src/ui/recapitulationCard/recapitulationCard.tsx @@ -41,29 +41,49 @@ export function RecapitulationCard({ switch (answerType) { case true: { return ( - ); } case false: { return ( - ); } case null: { return ( - ); } case undefined: { return ( - ); } @@ -76,13 +96,13 @@ export function RecapitulationCard({ corner="topLeft" color="white" // add custom calculated padding - className="k1-flex k1-min-w-full k1-flex-col" + className="k1-p-custom k1-flex k1-min-w-full k1-flex-col" >

{/* toggle star */} {/* icon edit large icon size and wrapper */} onClick("toggleImportant")} @@ -101,11 +121,11 @@ export function RecapitulationCard({
{/* TODO: line height fix value */} {/* replace with typo compoment */} - + {/* {statement} - + */} {/* mobile title */} - + {title}