Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
amundsen_dev
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Surendar Reddy Mangannagari
amundsen_dev
Commits
1a2e125c
Unverified
Commit
1a2e125c
authored
Jul 28, 2020
by
Tamika Tannis
Committed by
GitHub
Jul 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update markdown wrapper styles (#523)
parent
0bd3573e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
21 deletions
+15
-21
_layouts.scss
amundsen_application/static/css/_layouts.scss
+13
-1
index.tsx
..._application/static/js/components/DashboardPage/index.tsx
+2
-4
styles.scss
...tion/static/js/components/common/EditableText/styles.scss
+0
-16
No files found.
amundsen_application/static/css/_layouts.scss
View file @
1a2e125c
...
@@ -131,9 +131,21 @@ $aside-separation-space: 40px;
...
@@ -131,9 +131,21 @@ $aside-separation-space: 40px;
.markdown-wrapper
{
.markdown-wrapper
{
font-size
:
16px
;
font-size
:
16px
;
>
p
{
// Remove extra margin form text elements
>
p
,
ul
,
ol
{
margin
:
0
;
margin
:
0
;
}
}
// Restrict max size of header elements
h1
,
h2
,
h3
{
font-size
:
20px
;
font-weight
:
$font-weight-header-bold
;
line-height
:
28px
;
}
}
}
}
}
...
...
amundsen_application/static/js/components/DashboardPage/index.tsx
View file @
1a2e125c
...
@@ -222,10 +222,8 @@ export class DashboardPage extends React.Component<
...
@@ -222,10 +222,8 @@ export class DashboardPage extends React.Component<
)}`
}
)}`
}
>
>
{
hasDescription
&&
(
{
hasDescription
&&
(
<
div
className=
"editable-text"
>
<
div
className=
"markdown-wrapper"
>
<
div
className=
"markdown-wrapper"
>
<
ReactMarkdown
source=
{
dashboard
.
description
}
/>
<
ReactMarkdown
source=
{
dashboard
.
description
}
/>
</
div
>
</
div
>
</
div
>
)
}
)
}
{
!
hasDescription
&&
(
{
!
hasDescription
&&
(
...
...
amundsen_application/static/js/components/common/EditableText/styles.scss
View file @
1a2e125c
...
@@ -8,22 +8,6 @@
...
@@ -8,22 +8,6 @@
.markdown-wrapper
{
.markdown-wrapper
{
font-size
:
14px
;
font-size
:
14px
;
word-break
:
break-word
;
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
{
.edit-link
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment