nodebb-theme-persona 13.2.48 → 13.2.49

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-persona",
3
- "version": "13.2.48",
3
+ "version": "13.2.49",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.5.0"
6
6
  },
package/scss/chats.scss CHANGED
@@ -23,10 +23,13 @@ body.page-user-chats {
23
23
  $calcHeight: calc(100vh - var(--panel-offset) - $spacer);
24
24
  overflow: hidden;
25
25
  height: 100%;
26
+ [data-widget-area="footer"] {
27
+ display: none;
28
+ }
26
29
  > #panel {
27
30
  height: $calcHeight;
28
31
  > .container {
29
- height: $calcHeight;
32
+ height: 100%;
30
33
  }
31
34
  }
32
35
  }
@@ -47,7 +50,6 @@ body.page-user-chats {
47
50
  .chats-full, .chat-modal {
48
51
  display: flex;
49
52
  flex-wrap: nowrap;
50
- height: calc(100vh - var(--panel-offset) - $spacer);
51
53
 
52
54
  [component="chat/nav-wrapper"] {
53
55
  width: 300px;
@@ -499,12 +501,21 @@ body.page-user-chats {
499
501
  /* Mobile handling of chat page */
500
502
  @include media-breakpoint-down(md) {
501
503
  .page-user-chats {
502
- padding-bottom: 0;
503
-
504
+ padding-bottom: 0!important;
505
+ > #panel {
506
+ height: 100%!important;
507
+ .container {
508
+ height: 100%!important;
509
+ }
510
+ }
504
511
  [component="chat/nav-wrapper"] {
505
512
  width: 100%;
506
513
  }
507
514
 
515
+ &.chat-loaded .navbar {
516
+ display: none;
517
+ }
518
+
508
519
  [component="chat/nav-wrapper"][data-loaded="1"] {
509
520
  display: none!important;
510
521
  }
@@ -1,4 +1,3 @@
1
- html,
2
1
  body.page-compose,
3
2
  .page-compose #content,
4
3
  .page-compose #panel {
package/scss/style.scss CHANGED
@@ -1,6 +1,7 @@
1
1
  html {
2
2
  overflow-y: scroll;
3
3
  min-height: 100%;
4
+ height: 100%;
4
5
  }
5
6
 
6
7
  body {
@@ -20,13 +20,13 @@
20
20
  <div class="row mb-2">
21
21
  <label for="username" class="col-lg-2 col-form-label">{allowLoginWith}</label>
22
22
  <div class="col-lg-10">
23
- <input class="form-control" type="text" placeholder="{allowLoginWith}" name="username" id="username" autocorrect="off" autocapitalize="off" value="{username}"/>
23
+ <input class="form-control" type="text" placeholder="{allowLoginWith}" name="username" id="username" autocorrect="off" autocapitalize="off" autocomplete="nickname" value="{username}"/>
24
24
  </div>
25
25
  </div>
26
26
  <div class="row mb-2">
27
27
  <label for="password" class="col-lg-2 col-form-label">[[user:password]]</label>
28
28
  <div class="col-lg-10">
29
- <input class="form-control" type="password" placeholder="[[user:password]]" name="password" id="password" {{{ if username }}}autocomplete="off"{{{ end }}}/>
29
+ <input class="form-control" type="password" placeholder="[[user:password]]" name="password" id="password" autocomplete="current-password" autocapitalize="off" />
30
30
  <p id="caps-lock-warning" class="text-danger hidden">
31
31
  <i class="fa fa-exclamation-triangle"></i> [[login:caps-lock-enabled]]
32
32
  </p>
@@ -16,7 +16,7 @@
16
16
  <div class="row mb-3">
17
17
  <label for="username" class="col-lg-2 col-form-label">[[register:username]]</label>
18
18
  <div class="col-lg-10">
19
- <input class="form-control" type="text" placeholder="[[register:username-placeholder]]" name="username" id="username" autocorrect="off" autocapitalize="off" autocomplete="off" />
19
+ <input class="form-control" type="text" placeholder="[[register:username-placeholder]]" name="username" id="username" autocorrect="off" autocapitalize="off" autocomplete="nickname" />
20
20
  <span class="register-feedback" id="username-notify"></span>
21
21
  <span class="form-text">[[register:help.username-restrictions, {minimumUsernameLength}, {maximumUsernameLength}]]</span>
22
22
  </div>
@@ -24,7 +24,7 @@
24
24
  <div class="row mb-2">
25
25
  <label for="password" class="col-lg-2 col-form-label">[[register:password]]</label>
26
26
  <div class="col-lg-10">
27
- <input class="form-control" type="password" placeholder="[[register:password-placeholder]]" name="password" id="password" />
27
+ <input class="form-control" type="password" placeholder="[[register:password-placeholder]]" name="password" id="password" autocomplete="new-password" autocapitalize="off" />
28
28
  <span class="register-feedback" id="password-notify"></span>
29
29
  <span class="form-text">[[register:help.minimum-password-length, {minimumPasswordLength}]]</span>
30
30
  <p id="caps-lock-warning" class="text-danger hidden">
@@ -35,7 +35,7 @@
35
35
  <div class="row mb-2">
36
36
  <label for="password-confirm" class="col-lg-2 col-form-label">[[register:confirm-password]]</label>
37
37
  <div class="col-lg-10">
38
- <input class="form-control" type="password" placeholder="[[register:confirm-password-placeholder]]" name="password-confirm" id="password-confirm" />
38
+ <input class="form-control" type="password" placeholder="[[register:confirm-password-placeholder]]" name="password-confirm" id="password-confirm" autocomplete="new-password" autocapitalize="off" />
39
39
  <span class="register-feedback" id="password-confirm-notify"></span>
40
40
  </div>
41
41
  </div>