Add text-balance to topic header

pull/5561/head^2
Kamran Ahmed 7 months ago
parent e1069bbae3
commit f30334cb9b
  1. 2
      src/components/TopicDetail/TopicDetail.tsx

@ -257,7 +257,7 @@ export function TopicDetail(props: TopicDetailProps) {
{/* Topic Content */} {/* Topic Content */}
{hasContent ? ( {hasContent ? (
<div className="prose prose-quoteless prose-h1:mb-2.5 prose-h1:mt-7 prose-h2:mb-3 prose-h2:mt-0 prose-h3:mb-[5px] prose-h3:mt-[10px] prose-p:mb-2 prose-p:mt-0 prose-blockquote:font-normal prose-blockquote:not-italic prose-blockquote:text-gray-700 prose-li:m-0 prose-li:mb-0.5"> <div className="prose prose-h1:text-balance prose-quoteless prose-h1:mb-2.5 prose-h1:mt-7 prose-h2:mb-3 prose-h2:mt-0 prose-h3:mb-[5px] prose-h3:mt-[10px] prose-p:mb-2 prose-p:mt-0 prose-blockquote:font-normal prose-blockquote:not-italic prose-blockquote:text-gray-700 prose-li:m-0 prose-li:mb-0.5">
{topicTitle && <h1>{topicTitle}</h1>} {topicTitle && <h1>{topicTitle}</h1>}
<div <div
id="topic-content" id="topic-content"

Loading…
Cancel
Save