fix event
deskrispsi: - ubah jumlah lineClamp pada forum
This commit is contained in:
@@ -1,12 +1,12 @@
|
|||||||
import { MainColor } from "../../color";
|
import { MainColor } from "../../color";
|
||||||
|
|
||||||
export function Comp_DangerouslySetInnerHTML({
|
export const Comp_DangerouslySetInnerHTML= ({
|
||||||
props,
|
props,
|
||||||
color,
|
color,
|
||||||
}: {
|
}: {
|
||||||
props: string | undefined;
|
props: string | undefined;
|
||||||
color?: string;
|
color?: string;
|
||||||
}) {
|
}) => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div
|
<div
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ export default function ComponentEvent_BoxListStatus({
|
|||||||
</Text>
|
</Text>
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
<Text c={MainColor.white} fz={"sm"} lineClamp={2}>
|
<Text c={MainColor.white} fz={"sm"} lineClamp={4}>
|
||||||
<Comp_DangerouslySetInnerHTML props={data.deskripsi} />
|
<Comp_DangerouslySetInnerHTML props={data.deskripsi} />
|
||||||
</Text>
|
</Text>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ export function ComponentEvent_CardBeranda({ data }: { data: any }) {
|
|||||||
</Text> */}
|
</Text> */}
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
<Text c={MainColor.white} fz={"sm"} lineClamp={2}>
|
<Text c={MainColor.white} fz={"sm"} lineClamp={4}>
|
||||||
<Comp_DangerouslySetInnerHTML props={data.deskripsi} />
|
<Comp_DangerouslySetInnerHTML props={data.deskripsi} />
|
||||||
</Text>
|
</Text>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ export function ComponentEvent_CardRiwayat({ data }: { data: MODEL_EVENT }) {
|
|||||||
</Text>
|
</Text>
|
||||||
</Group>
|
</Group>
|
||||||
|
|
||||||
<Text fz={"sm"} lineClamp={2}>
|
<Text fz={"sm"} lineClamp={4}>
|
||||||
<Comp_DangerouslySetInnerHTML props={data.deskripsi}/>
|
<Comp_DangerouslySetInnerHTML props={data.deskripsi}/>
|
||||||
</Text>
|
</Text>
|
||||||
</Stack>
|
</Stack>
|
||||||
|
|||||||
Reference in New Issue
Block a user