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
476bcfe7
Commit
476bcfe7
authored
Oct 23, 2020
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #2137: Show back arrow on mobile
parent
4252a17f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
3 deletions
+27
-3
sass/_chatbox.scss
sass/_chatbox.scss
+2
-1
sass/_chatrooms.scss
sass/_chatrooms.scss
+24
-1
src/templates/chatroom_head.js
src/templates/chatroom_head.js
+1
-1
No files found.
sass/_chatbox.scss
View file @
476bcfe7
...
@@ -618,8 +618,9 @@
...
@@ -618,8 +618,9 @@
.chatbox
{
.chatbox
{
.box-flyout
{
.box-flyout
{
.chatbox-navback
{
.chatbox-navback
{
margin
:
auto
0
;
margin-right
:
1em
;
display
:
flex
;
display
:
flex
;
padding-right
:
1em
;
.fa-arrow-left
{
.fa-arrow-left
{
&
:before
{
&
:before
{
color
:
white
;
color
:
white
;
...
...
sass/_chatrooms.scss
View file @
476bcfe7
...
@@ -89,8 +89,9 @@
...
@@ -89,8 +89,9 @@
.chatbox-title__text
{
.chatbox-title__text
{
display
:
var
(
--
heading-display
);
display
:
var
(
--
heading-display
);
font-weight
:
var
(
--
chatroom-head-title-font-weight
);
font-weight
:
var
(
--
chatroom-head-title-font-weight
);
padding-right
:
var
(
--
chatroom-head-title-padding-right
);
margin
:
auto
0
;
margin
:
auto
0
;
padding-right
:
var
(
--
chatroom-head-title-padding-right
);
white-space
:
nowrap
;
.chatroom-jid
{
.chatroom-jid
{
font-size
:
var
(
--
font-size-small
);
font-size
:
var
(
--
font-size-small
);
}
}
...
@@ -520,3 +521,25 @@
...
@@ -520,3 +521,25 @@
}
}
}
}
}
}
@include
media-breakpoint-down
(
sm
)
{
#conversejs
.converse-mobile
,
#conversejs
.converse-overlayed
,
#conversejs
.converse-fullscreen
{
.chatbox
{
.box-flyout
{
.chat-head-chatroom
{
.chatbox-navback
{
margin-right
:
0
!
important
;
.fa-arrow-left
{
&
:before
{
color
:
var
(
--
chatroom-head-color
);
}
}
}
}
}
}
}
}
src/templates/chatroom_head.js
View file @
476bcfe7
...
@@ -17,7 +17,7 @@ export default (o) => {
...
@@ -17,7 +17,7 @@ export default (o) => {
const
show_subject
=
(
subject
&&
!
o
.
subject_hidden
);
const
show_subject
=
(
subject
&&
!
o
.
subject_hidden
);
return
html
`
return
html
`
<div class="chatbox-title
${
show_subject
?
''
:
"
chatbox-title--no-desc
"
}
">
<div class="chatbox-title
${
show_subject
?
''
:
"
chatbox-title--no-desc
"
}
">
${
(
o
.
_converse
.
standalone
)
?
html
`<div class="chatbox-navback"><i class="fa fa-arrow-left"></i></div>`
:
''
}
${
(
!
o
.
_converse
.
api
.
settings
.
get
(
"
singleton
"
)
)
?
html
`<div class="chatbox-navback"><i class="fa fa-arrow-left"></i></div>`
:
''
}
<div class="chatbox-title__text" title="
${
(
o
.
_converse
.
locked_muc_domain
!==
'
hidden
'
)
?
o
.
jid
:
''
}
">
${
o
.
title
}
<div class="chatbox-title__text" title="
${
(
o
.
_converse
.
locked_muc_domain
!==
'
hidden
'
)
?
o
.
jid
:
''
}
">
${
o
.
title
}
${
(
o
.
bookmarked
)
?
html
`<i class="fa fa-bookmark chatbox-title__text--bookmarked" title="
${
i18n_bookmarked
}
"></i>`
:
''
}
${
(
o
.
bookmarked
)
?
html
`<i class="fa fa-bookmark chatbox-title__text--bookmarked" title="
${
i18n_bookmarked
}
"></i>`
:
''
}
</div>
</div>
...
...
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