Unverified Commit 1a2e125c authored by Tamika Tannis's avatar Tamika Tannis Committed by GitHub

Update markdown wrapper styles (#523)

parent 0bd3573e
......@@ -131,9 +131,21 @@ $aside-separation-space: 40px;
.markdown-wrapper {
font-size: 16px;
> p {
// Remove extra margin form text elements
> p,
ul,
ol {
margin: 0;
}
// Restrict max size of header elements
h1,
h2,
h3 {
font-size: 20px;
font-weight: $font-weight-header-bold;
line-height: 28px;
}
}
}
......
......@@ -222,11 +222,9 @@ export class DashboardPage extends React.Component<
)}`}
>
{hasDescription && (
<div className="editable-text">
<div className="markdown-wrapper">
<ReactMarkdown source={dashboard.description} />
</div>
</div>
)}
{!hasDescription && (
<a
......
......@@ -8,22 +8,6 @@
.markdown-wrapper {
font-size: 14px;
word-break: break-word;
// Remove extra margin form text elements
> p,
ul,
ol {
margin: 0;
}
// Restrict max size of header elements
h1,
h2,
h3 {
font-size: 20px;
font-weight: $font-weight-header-bold;
line-height: 28px;
}
}
.edit-link {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment