nodebb-theme-harmony 1.0.0-beta.113 → 1.0.0-beta.115
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/scss/chats.scss
CHANGED
|
@@ -79,7 +79,16 @@ body.page-user-chats {
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/* Mobile handling of chat page */
|
|
82
|
+
@include media-breakpoint-down(lg) {
|
|
83
|
+
.page-user-chats.chat-loaded {
|
|
84
|
+
padding-bottom: 4.75rem;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
82
88
|
@include media-breakpoint-down(md) {
|
|
89
|
+
.page-user-chats.chat-loaded {
|
|
90
|
+
padding-bottom: initial;
|
|
91
|
+
}
|
|
83
92
|
[component="chat/nav-wrapper"] {
|
|
84
93
|
width: 100%;
|
|
85
94
|
}
|
package/scss/topic.scss
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<div component="chat/composer" class="d-flex flex-column flex-md-row gap-2 border-top pt-2 align-items-start align-items-md-end">
|
|
25
25
|
<div class="w-100 flex-grow-1 position-relative input-group">
|
|
26
26
|
<button component="chat/upload/button" class="btn btn-outline-primary btn-sm align-self-stretch px-3 px-md-2" type="button"><i class="fa fa-fw fa-upload"></i></button>
|
|
27
|
-
<textarea component="chat/input" placeholder="[[modules:chat.placeholder.mobile]]" class="form-control chat-input mousetrap" style="height:0;resize:none;"></textarea>
|
|
27
|
+
<textarea component="chat/input" placeholder="[[modules:chat.placeholder.mobile]]" class="form-control chat-input mousetrap" style="height:0;max-height:30vh;resize:none;"></textarea>
|
|
28
28
|
<span component="chat/message/remaining" class="text-xs text-muted position-absolute me-5 mb-1 end-0 bottom-0">{maximumChatMessageLength}</span>
|
|
29
29
|
<button class="btn btn-primary btn-sm align-self-stretch px-3 px-md-2" type="button" data-action="send"><i class="fa fa-fw fa-paper-plane"></i></button>
|
|
30
30
|
</div>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<li component="chat/message" class="chat-message mx-2 pe-2 clear{{{ if
|
|
1
|
+
<li component="chat/message" class="chat-message mx-2 pe-2 clear{{{ if messages.deleted }}} deleted{{{ end }}} {{{ if messages.newSet }}}border-top pt-3{{{ end }}}" data-index="{messages.index}" data-mid="{messages.messageId}" data-uid="{messages.fromuid}" data-self="{messages.self}" data-break="{messages.newSet}" data-timestamp="{messages.timestamp}">
|
|
2
2
|
<div class="message-header lh-1 d-flex align-items-center gap-2 text-sm {{{ if !messages.newSet }}}hidden{{{ end }}} pb-2">
|
|
3
3
|
<a href="{config.relative_path}/user/{messages.fromUser.userslug}" class="text-decoration-none">{buildAvatar(messages.fromUser, "18px", true, "not-responsive")}</a>
|
|
4
4
|
<span class="chat-user fw-semibold"><a href="{config.relative_path}/user/{messages.fromUser.userslug}">{messages.fromUser.displayname}</a></span>
|
|
5
|
-
{{{ if
|
|
5
|
+
{{{ if messages.fromUser.banned }}}
|
|
6
6
|
<span class="badge bg-danger">[[user:banned]]</span>
|
|
7
7
|
{{{ end }}}
|
|
8
|
-
{{{ if
|
|
8
|
+
{{{ if messages.fromUser.deleted }}}
|
|
9
9
|
<span class="badge bg-danger">[[user:deleted]]</span>
|
|
10
10
|
{{{ end }}}
|
|
11
11
|
<span class="chat-timestamp text-muted ms-2 timeago" title="{messages.timestampISO}"></span>
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
{messages.content}
|
|
19
19
|
</div>
|
|
20
20
|
|
|
21
|
-
{{{ if (!config.disableChatMessageEditing &&
|
|
21
|
+
{{{ if (!config.disableChatMessageEditing && messages.self ) }}}
|
|
22
22
|
<div class="position-relative">
|
|
23
23
|
<div class="btn-group border shadow-sm controls position-absolute small hover-d-block" style="bottom:5px; right:30px; display:none;">
|
|
24
24
|
<button class="btn btn-sm btn-link" data-action="edit"><i class="fa fa-pencil"></i></button>
|