Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
ac966131
Unverified
Commit
ac966131
authored
Sep 02, 2019
by
Liana Husikyan
Committed by
GitHub
Sep 02, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2300 from ethereum/LianaHus-patch-5
removed the parent margins of loader
parents
276e8712
5ffbade3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
panel.js
src/app/components/panel.js
+7
-6
No files found.
src/app/components/panel.js
View file @
ac966131
...
@@ -23,11 +23,6 @@ const css = csjs`
...
@@ -23,11 +23,6 @@ const css = csjs`
height : 100%;
height : 100%;
overflow-y : hidden;
overflow-y : hidden;
}
}
.loading {
height : 40px !important;
width : 40px !important;
margin : auto !important;
}
`
`
/** Abstract class used for hosting the view of a plugin */
/** Abstract class used for hosting the view of a plugin */
...
@@ -56,7 +51,13 @@ export class AbstractPanel extends HostPlugin {
...
@@ -56,7 +51,13 @@ export class AbstractPanel extends HostPlugin {
const
isIframe
=
view
.
tagName
===
'IFRAME'
const
isIframe
=
view
.
tagName
===
'IFRAME'
view
.
style
.
display
=
isIframe
?
'none'
:
'block'
view
.
style
.
display
=
isIframe
?
'none'
:
'block'
const
loading
=
isIframe
?
yo
`<div class="spinner-border
${
css
.
loading
}
text-primary" role="status"><div class="sr-only">Loading...</div></div>`
:
''
const
loading
=
isIframe
?
yo
`
<div class="d-flex justify-content-center align-items-center">
<div class="spinner-border" role="status">
<span class="sr-only">Loading...</span>
</div>
</div>
`
:
''
this
.
contents
[
name
]
=
yo
`<div class="
${
css
.
plugItIn
}
" >
${
view
}${
loading
}
</div>`
this
.
contents
[
name
]
=
yo
`<div class="
${
css
.
plugItIn
}
" >
${
view
}${
loading
}
</div>`
if
(
view
.
tagName
===
'IFRAME'
)
{
if
(
view
.
tagName
===
'IFRAME'
)
{
...
...
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