fix: add stylings for list
This commit is contained in:
@@ -3,10 +3,10 @@ import { useRouter } from "next/navigation"
|
||||
|
||||
import { Button } from "@scandic-hotels/design-system/current"
|
||||
|
||||
import { renderOptions as currentRenderOptions } from "@/components/Current/currentRenderOptions"
|
||||
import Image from "@/components/Image"
|
||||
import JsonToHtml from "@/components/JsonToHtml"
|
||||
|
||||
import { renderOptions as currentRenderOption } from "./../../currentRenderOptions"
|
||||
import { renderOptions } from "./renderOptions"
|
||||
|
||||
import styles from "./puff.module.css"
|
||||
@@ -45,7 +45,7 @@ export default function Puff({
|
||||
<JsonToHtml
|
||||
embeds={[]}
|
||||
nodes={text.json.children}
|
||||
renderOptions={{ ...currentRenderOption, ...renderOptions }}
|
||||
renderOptions={{ ...currentRenderOptions, ...renderOptions }}
|
||||
/>
|
||||
<div>
|
||||
<Button onPress={onClick}>{link.title || title}</Button>
|
||||
@@ -74,7 +74,7 @@ export default function Puff({
|
||||
<JsonToHtml
|
||||
embeds={[]}
|
||||
nodes={text.json.children}
|
||||
renderOptions={renderOptions}
|
||||
renderOptions={{ ...currentRenderOptions, ...renderOptions }}
|
||||
/>
|
||||
</section>
|
||||
</article>
|
||||
|
||||
Reference in New Issue
Block a user