Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Rex Dri
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
32
Issues
32
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rex Dri
Rex Dri
Commits
7664c958
Commit
7664c958
authored
Feb 26, 2019
by
Florent Chehab
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix_react_warnings' into 'master'
Fix react warnings Closes
#49
See merge request
!51
parents
7266140c
23eaf979
Pipeline
#35515
passed with stages
in 3 minutes and 47 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
frontend/src/components/ThemeProvider.js
frontend/src/components/ThemeProvider.js
+2
-2
frontend/src/components/shared/Markdown.js
frontend/src/components/shared/Markdown.js
+5
-5
No files found.
frontend/src/components/ThemeProvider.js
View file @
7664c958
...
...
@@ -58,9 +58,9 @@ class ThemeProvider extends CustomComponentForAPI {
const
siteSettings
=
{
typography
:
{
fontSize
:
14
,
htmlFontSize
:
14
htmlFontSize
:
14
,
useNextVariants
:
true
,
},
useNextVariants
:
true
,
myPaper
:
{
padding
:
16
}
...
...
frontend/src/components/shared/Markdown.js
View file @
7664c958
...
...
@@ -146,7 +146,7 @@ const BlockquoteRenderer = (props, classes) => (
const
TableRenderer
=
(
props
,
classes
)
=>
(
<
Paper
className
=
{
classes
.
backgroundTable
}
>
<
Table
className
=
{
classes
.
table
}
>
{
props
.
children
}
<
/Table
>
<
Table
className
=
{
classes
.
table
}
>
{
props
.
children
}
<
/Table
>
<
/Paper
>
);
...
...
@@ -165,16 +165,16 @@ const renderers = {
heading
:
HeadingRenderer
,
list
:
withStyles
(
styles
,
{
withTheme
:
true
})(
ListRenderer
),
listItem
:
withStyles
(
styles
,
{
withTheme
:
true
})(
ListItemRenderer
),
paragraph
:
(
props
)
=>
<
Typography
paragraph
>
{
props
.
children
}
<
/Typography>
,
paragraph
:
(
props
)
=>
<
Typography
paragraph
>
{
props
.
children
}
<
/Typography>
,
link
:
props
=>
<
LinkText
{...
props
}
/>
,
code
:
withStyles
(
styles
,
{
withTheme
:
true
})(
CodeRenderer
),
inlineCode
:
withStyles
(
styles
,
{
withTheme
:
true
})(
InlineCodeRenderer
),
blockquote
:
withStyles
(
styles
,
{
withTheme
:
true
})(
BlockquoteRenderer
),
table
:
withStyles
(
styles
,
{
withTheme
:
true
})(
TableRenderer
),
tableHead
:
withStyles
(
styles
,
{
withTheme
:
true
})(
TableHeadRenderer
),
tableBody
:
props
=>
(
<
TableBody
>
{
props
.
children
}
<
/TableBody>
)
,
tableRow
:
props
=>
(
<
TableRow
hover
=
{
true
}
>
{
props
.
children
}
<
/TableRow>
)
,
tableCell
:
props
=>
(
<
TableCell
>
{
props
.
children
}
<
/TableCell>
)
,
tableBody
:
props
=>
(
<
TableBody
>
{
props
.
children
}
<
/TableBody>
)
,
tableRow
:
props
=>
(
<
TableRow
hover
=
{
true
}
>
{
props
.
children
}
<
/TableRow>
)
,
tableCell
:
props
=>
(
<
TableCell
>
{
props
.
children
}
<
/TableCell>
)
,
thematicBreak
:
()
=>
(
<
Divider
/>
)
};
...
...
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