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
d325059c
Commit
d325059c
authored
Jun 03, 2020
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix styling issue for the unread badge
parent
85e9169b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
sass/_chatrooms.scss
sass/_chatrooms.scss
+2
-2
sass/_roster.scss
sass/_roster.scss
+1
-1
src/templates/rooms_list.js
src/templates/rooms_list.js
+1
-1
No files found.
sass/_chatrooms.scss
View file @
d325059c
#conversejs
.converse-embedded
,
#conversejs
{
.badge-
room-color
{
background-color
:
var
(
--
chatroom-head-bg
-color
);
.badge-
-muc
{
background-color
:
var
(
--
groupchats-header
-color
);
}
.add-chatroom
{
...
...
sass/_roster.scss
View file @
d325059c
...
...
@@ -134,7 +134,7 @@
background-color
:
var
(
--
chat-head-color
);
opacity
:
1
;
border-radius
:
10%
;
padding
:
0
.2em
;
padding
:
0
.2em
0
.4em
;
font-size
:
var
(
--
font-size-small
);
}
...
...
src/templates/rooms_list.js
View file @
d325059c
...
...
@@ -12,7 +12,7 @@ const i18n_open = __('Click to open this groupchat');
const
i18n_rooms
=
__
(
'
Open Groupchats
'
);
const
unread_indicator
=
(
o
)
=>
html
`<span class="list-item-badge badge badge-
room-color
msgs-indicator">
${
o
.
room
.
get
(
'
num_unread
'
)
}
</span>`
;
const
unread_indicator
=
(
o
)
=>
html
`<span class="list-item-badge badge badge-
-muc
msgs-indicator">
${
o
.
room
.
get
(
'
num_unread
'
)
}
</span>`
;
const
bookmark
=
(
o
)
=>
{
...
...
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