Skip to content

Commit

Permalink
Hot fix rationale responsiveness (#4651)
Browse files Browse the repository at this point in the history
fix

Co-authored-by: Theophile Sandoz <[email protected]>
  • Loading branch information
eshark9312 and thesan authored Nov 24, 2023
1 parent 1031792 commit 3c7dea6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ const normalFontSize = ({ size }: MarkdownPreviewStylesProps) => {
const normalColor = ({ isReply }: MarkdownPreviewStylesProps) => Colors.Black[isReply ? 800 : 700]

export const MarkdownPreviewStyles = createGlobalStyle<MarkdownPreviewStylesProps>`
* {
word-break: normal;
}
.markdown-preview {
width: 100%;
}
Expand Down Expand Up @@ -188,7 +192,6 @@ export const MarkdownPreviewStyles = createGlobalStyle<MarkdownPreviewStylesProp
border-spacing: 0;
border-collapse: collapse;
display: block;
width: max-content;
max-width: 100%;
overflow: auto;
margin-top: 8px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ const RationaleSection = styled(RowGapBlock).attrs({ gap: 24 })`
background: ${Colors.Black[50]};
border: 1px solid ${Colors.Black[200]};
border-radius: ${BorderRad.s};
overflow: auto;
`

const RationaleToggle = styled.label`
Expand Down

1 comment on commit 3c7dea6

@vercel
Copy link

@vercel vercel bot commented on 3c7dea6 Nov 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

dao – ./

dao-joystream.vercel.app
pioneerapp.xyz
dao.joystream.org
dao-git-main-joystream.vercel.app

Please sign in to comment.