Skip to content

Commit

Permalink
fix: preview styling to use backstage styles
Browse files Browse the repository at this point in the history
  • Loading branch information
drodil committed Sep 26, 2023
1 parent e10b879 commit b1414f6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions plugins/qeta/src/components/MarkdownEditor/MarkdownEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export const MarkdownEditor = (props: {
textArea: error
? `qetaMarkdownEditorError ${styles.markdownEditorError}`
: undefined,
preview: 'qetaMarkdownEditorPreview',
toolbar: 'qetaMarkdownEditorToolbar',
}}
value={value}
onChange={onChange}
Expand Down
2 changes: 1 addition & 1 deletion plugins/qeta/src/components/QuestionPage/AnswerCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export const AnswerCard = (props: {
<>
<Typography variant="body1" gutterBottom>
<MarkdownContent
className={`qetaAndswerCardAnswerContent ${styles.markdownContent}`}
className={`qetaAndwerCardAnswerContent ${styles.markdownContent}`}
content={answerEntity.content}
dialect="gfm"
/>
Expand Down
1 change: 0 additions & 1 deletion plugins/qeta/src/components/QuestionPage/QuestionCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { DeleteModal } from '../DeleteModal/DeleteModal';
import { FavoriteButton } from './FavoriteButton';
import { AuthorBox } from './AuthorBox';
import { TagsAndEntities } from './TagsAndEntities';
import 'react-mde/lib/styles/css/react-mde-preview.css';
import { CommentSection } from '../CommentSection/CommentSection';

export const QuestionCard = (props: { question: QuestionResponse }) => {
Expand Down

0 comments on commit b1414f6

Please sign in to comment.