도움말템플릿릿
This commit is contained in:
@@ -299,16 +299,29 @@ export function LNB({
|
||||
<DialogTrigger asChild>
|
||||
|
||||
</DialogTrigger>
|
||||
<DialogContent className="sm:max-w-[85rem]">
|
||||
<DialogContent className="sm:max-w-[85rem] max-h-[90vh] flex flex-col">
|
||||
<DialogHeader>
|
||||
<DialogTitle>도움말</DialogTitle>
|
||||
</DialogHeader>
|
||||
<div className="py-4">
|
||||
<div className="py-4 overflow-y-auto flex-1 min-h-0">
|
||||
{helpContent ? (
|
||||
<div
|
||||
className="text-sm leading-relaxed text-muted-foreground"
|
||||
dangerouslySetInnerHTML={{ __html: helpContent }}
|
||||
/>
|
||||
style={{
|
||||
fontSize: '16px',
|
||||
lineHeight: '1.5',
|
||||
}}
|
||||
>
|
||||
<div
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: helpContent
|
||||
.replace(/<body[^>]*>/gi, '<div>')
|
||||
.replace(/<\/body>/gi, '</div>')
|
||||
}}
|
||||
style={{
|
||||
fontSize: 'inherit',
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
) : (
|
||||
<p className="text-sm text-muted-foreground">
|
||||
현재 페이지에 대한 도움말이 없습니다.
|
||||
|
||||
Reference in New Issue
Block a user