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
799b53c0
Commit
799b53c0
authored
Jan 25, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix chatbox width for narrower viewports
parent
3cee6a56
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
46 deletions
+43
-46
css/converse.css
css/converse.css
+10
-12
css/inverse.css
css/inverse.css
+14
-16
sass/_chatbox.scss
sass/_chatbox.scss
+18
-16
sass/_controlbox.scss
sass/_controlbox.scss
+0
-1
sass/inverse/_chatbox.scss
sass/inverse/_chatbox.scss
+1
-1
No files found.
css/converse.css
View file @
799b53c0
...
...
@@ -1243,18 +1243,17 @@ body .brand-heading {
@media
screen
and
(
max-width
:
767px
)
{
#conversejs
#login-dialog
.pure-form.converse-form
{
padding
:
3em
2em
3em
;
}
>
.chatbox
{
#conversejs
>
.chatbox
{
width
:
calc
(
100%
-
50px
);
}
.chatbox
.chat-body
.chat-message
.chat-msg-author
{
#conversejs
.chatbox
.chat-body
.chat-message
.chat-msg-author
{
white-space
:
normal
;
}
.chatbox
.box-flyout
{
left
:
50px
;
bottom
:
0
;
width
:
calc
(
100%
-
50px
);
height
:
100vh
;
box-shadow
:
none
;
}
}
#conversejs
.chatbox
.row
{
width
:
calc
(
100%
-
50px
);
}
#conversejs
.chatbox
.row
.box-flyout
{
left
:
50px
;
bottom
:
0
;
height
:
100vh
;
box-shadow
:
none
;
}
}
#converse-embedded-chat
.chat-head
,
#conversejs
:not
(
.fullscreen
)
.chat-head
{
border-top-left-radius
:
4px
;
...
...
@@ -1681,8 +1680,7 @@ body .brand-heading {
position
:
absolute
;
top
:
0
;
left
:
50px
;
display
:
none
;
width
:
calc
(
100%
-
50px
);
}
display
:
none
;
}
#conversejs
#controlbox
#users
.controlbox-pane
{
height
:
100vh
;
}
#conversejs
.sidebar-open
>
.chatbox
:not
(
#controlbox
)
{
...
...
css/inverse.css
View file @
799b53c0
...
...
@@ -1317,18 +1317,17 @@ body {
@media
screen
and
(
max-width
:
767px
)
{
#conversejs
#login-dialog
.pure-form.converse-form
{
padding
:
3em
2em
3em
;
}
>
.chatbox
{
#conversejs
>
.chatbox
{
width
:
calc
(
100%
-
50px
);
}
.chatbox
.chat-body
.chat-message
.chat-msg-author
{
#conversejs
.chatbox
.chat-body
.chat-message
.chat-msg-author
{
white-space
:
normal
;
}
.chatbox
.box-flyout
{
left
:
50px
;
bottom
:
0
;
width
:
calc
(
100%
-
50px
);
height
:
100vh
;
box-shadow
:
none
;
}
}
#conversejs
.chatbox
.row
{
width
:
calc
(
100%
-
50px
);
}
#conversejs
.chatbox
.row
.box-flyout
{
left
:
50px
;
bottom
:
0
;
height
:
100vh
;
box-shadow
:
none
;
}
}
#conversejs
.fullscreen
.chatbox-btn
{
font-size
:
18px
;
margin
:
0
0.3em
;
}
...
...
@@ -1377,13 +1376,13 @@ body {
#conversejs
.fullscreen
.chatbox
.chat-title
{
font-size
:
26px
;
line-height
:
26px
;
}
#conversejs
.fullscreen
.chatbox
form
.sendXMPPMessage
ul
{
#conversejs
.fullscreen
.chatbox
.sendXMPPMessage
ul
{
width
:
100%
;
}
#conversejs
.fullscreen
.chatbox
form
.sendXMPPMessage
.toggle-smiley
{
#conversejs
.fullscreen
.chatbox
.sendXMPPMessage
.toggle-smiley
{
padding-left
:
0.5em
;
}
#conversejs
.fullscreen
.chatbox
form
.sendXMPPMessage
.toggle-smiley
ul
.emoji-toolbar
.emoji-category-picker
{
#conversejs
.fullscreen
.chatbox
.sendXMPPMessage
.toggle-smiley
ul
.emoji-toolbar
.emoji-category-picker
{
margin-right
:
5em
;
}
#conversejs
.fullscreen
.chatbox
form
.sendXMPPMessage
.toggle-smiley
ul
.emoji-toolbar
.emoji-category
{
#conversejs
.fullscreen
.chatbox
.sendXMPPMessage
.toggle-smiley
ul
.emoji-toolbar
.emoji-category
{
padding-left
:
10px
;
padding-right
:
10px
;
}
...
...
@@ -1773,8 +1772,7 @@ body {
position
:
absolute
;
top
:
0
;
left
:
50px
;
display
:
none
;
width
:
calc
(
100%
-
50px
);
}
display
:
none
;
}
#conversejs
#controlbox
#users
.controlbox-pane
{
height
:
100vh
;
}
#conversejs
.sidebar-open
>
.chatbox
:not
(
#controlbox
)
{
...
...
sass/_chatbox.scss
View file @
799b53c0
...
...
@@ -448,25 +448,27 @@
padding
:
3em
2em
3em
;
}
}
}
>
.chatbox
{
width
:
calc
(
100%
-
50px
);
}
.chatbox
{
.chat-body
{
.chat-message
{
.chat-msg-author
{
white-space
:
normal
;
}
}
}
.row
{
width
:
calc
(
100%
-
50px
);
>
.chatbox
{
width
:
calc
(
100%
-
50px
);
}
.chatbox
{
.chat-body
{
.chat-message
{
.chat-msg-author
{
white-space
:
normal
;
.box-flyout
{
left
:
50px
;
bottom
:
0
;
height
:
100vh
;
box-shadow
:
none
;
}
}
}
.box-flyout
{
left
:
50px
;
bottom
:
0
;
width
:
calc
(
100%
-
50px
);
height
:
100vh
;
box-shadow
:
none
;
}
}
}
sass/_controlbox.scss
View file @
799b53c0
...
...
@@ -532,7 +532,6 @@
top
:
0
;
left
:
50px
;
display
:
none
;
width
:
calc
(
100%
-
50px
);
&
.controlbox-pane
{
height
:
100vh
;
...
...
sass/inverse/_chatbox.scss
View file @
799b53c0
...
...
@@ -64,7 +64,7 @@
line-height
:
$font-size-huge
;
}
form
.sendXMPPMessage
{
.sendXMPPMessage
{
ul
{
width
:
100%
;
}
...
...
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