Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
640d5652
Commit
640d5652
authored
Jan 28, 2019
by
Ben Wheeler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
made extension chip showing/hiding consistent
parent
be975cba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
src/views/preview/presentation.jsx
src/views/preview/presentation.jsx
+8
-6
No files found.
src/views/preview/presentation.jsx
View file @
640d5652
...
...
@@ -187,7 +187,7 @@ const PreviewPresentation = ({
const
extensionChips
=
(
<
FlexRow
className=
"extension-list"
>
{
extensions
.
map
(
extension
=>
(
{
extensions
&&
extensions
.
map
(
extension
=>
(
<
ExtensionChip
action=
{
extension
.
action
}
extensionL10n=
{
extension
.
l10nId
}
...
...
@@ -381,11 +381,11 @@ const PreviewPresentation = ({
<
RemixCredit
projectInfo=
{
originalInfo
}
/>
{
/* eslint-disable max-len */
}
<
MediaQuery
maxWidth=
{
frameless
.
tablet
-
1
}
>
{
extensions
&&
{
(
extensions
&&
extensions
.
length
)
?
(
<
FlexRow
className=
"preview-row"
>
{
extensionChips
}
</
FlexRow
>
}
)
:
null
}
</
MediaQuery
>
{
showInstructions
&&
(
<
div
className=
"description-block"
>
...
...
@@ -522,9 +522,11 @@ const PreviewPresentation = ({
</
FlexRow
>
</
MediaQuery
>
<
MediaQuery
minWidth=
{
frameless
.
tablet
}
>
<
FlexRow
className=
"preview-row"
>
{
extensionChips
}
</
FlexRow
>
{
(
extensions
&&
extensions
.
length
)
?
(
<
FlexRow
className=
"preview-row"
>
{
extensionChips
}
</
FlexRow
>
)
:
null
}
</
MediaQuery
>
{
showModInfo
&&
<
FlexRow
className=
"preview-row"
>
...
...
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