Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
29383301
Commit
29383301
authored
Jul 27, 2020
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
CSS: Fix horizontally centered spinner
parent
a6c821be
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
sass/_core.scss
sass/_core.scss
+1
-0
src/templates/login_panel.js
src/templates/login_panel.js
+1
-1
src/templates/spinner.js
src/templates/spinner.js
+1
-1
No files found.
sass/_core.scss
View file @
29383301
...
...
@@ -498,6 +498,7 @@ body.converse-fullscreen {
margin
:
auto
;
}
.hor_centered
{
width
:
100%
;
text-align
:
center
;
display
:
block
;
margin
:
0
auto
;
...
...
src/templates/login_panel.js
View file @
29383301
...
...
@@ -76,6 +76,6 @@ export default (o) => html`
<p class="feedback-subject">
${
o
.
conn_feedback_subject
}
</p>
<p class="feedback-message
${
!
o
.
conn_feedback_message
?
'
hidden
'
:
''
}
">
${
o
.
conn_feedback_message
}
</p>
</div>
${
(
o
.
_converse
.
CONNECTION_STATUS
[
o
.
connection_status
]
===
'
CONNECTING
'
)
?
tpl_spinner
()
:
form_fields
(
o
)
}
${
(
o
.
_converse
.
CONNECTION_STATUS
[
o
.
connection_status
]
===
'
CONNECTING
'
)
?
tpl_spinner
(
{
'
classes
'
:
'
hor_centered
'
}
)
:
form_fields
(
o
)
}
</form>
`
;
src/templates/spinner.js
View file @
29383301
import
{
html
}
from
"
lit-html
"
;
export
default
(
)
=>
html
`<span class="spinner fa fa-spinner centered
"/>`
export
default
(
o
)
=>
html
`<span class="spinner fa fa-spinner centered
${
o
.
classes
||
''
}
"/>`
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