nodebb-theme-persona 11.4.0 → 11.4.1
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/less/account.less +7 -1
- package/package.json +1 -1
- package/public/persona.js +1 -1
package/less/account.less
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
margin-bottom: 1em;
|
|
33
33
|
background-origin: content-box;
|
|
34
34
|
width: 100%;
|
|
35
|
-
top: calc(var(--panel-offset)
|
|
35
|
+
top: calc(var(--panel-offset) - 20px);
|
|
36
36
|
position: absolute;
|
|
37
37
|
left: auto;
|
|
38
38
|
right: 0px;
|
|
@@ -166,6 +166,12 @@
|
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
+
@media (min-width: @screen-lg-min) {
|
|
170
|
+
.cover {
|
|
171
|
+
top: calc(var(--panel-offset) + @navbar-height);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
169
175
|
@media (min-width: @screen-md-min) {
|
|
170
176
|
margin-top: 300px;
|
|
171
177
|
|
package/package.json
CHANGED
package/public/persona.js
CHANGED
|
@@ -50,7 +50,7 @@ $(document).ready(function () {
|
|
|
50
50
|
let preference = ['xs', 'sm'];
|
|
51
51
|
|
|
52
52
|
try {
|
|
53
|
-
preference = JSON.parse(Storage.getItem('persona:navbar:autohide'));
|
|
53
|
+
preference = JSON.parse(Storage.getItem('persona:navbar:autohide')) || preference;
|
|
54
54
|
} catch (e) {
|
|
55
55
|
console.warn('[persona/settings] Unable to parse value for navbar autohiding');
|
|
56
56
|
}
|