@necrolab/dashboard 0.5.25 → 0.5.26
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
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
</button>
|
|
56
56
|
<h4 v-if="ui.profile?.name" class="hidden text-sm font-medium text-white lg:block">
|
|
57
57
|
<span class="text-lightgray">Logged in as</span>
|
|
58
|
-
<span class="font-black">{{ ui.profile?.name }}</span>
|
|
58
|
+
<span class="ml-1 font-black">{{ ui.profile?.name }}</span>
|
|
59
59
|
</h4>
|
|
60
60
|
<h4 v-else class="hidden text-sm font-medium text-white lg:block">
|
|
61
61
|
<span class="text-lightgray">Loading</span>
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
<CountryChooser class="ipad-safe-top hidden lg:block" />
|
|
70
70
|
|
|
71
71
|
<button
|
|
72
|
-
class="z-30 ml-auto flex p-2
|
|
72
|
+
class="z-30 -m-2 ml-auto flex p-2 lg:hidden"
|
|
73
73
|
@click="toggleMenu"
|
|
74
74
|
aria-label="Toggle navigation menu"
|
|
75
75
|
:aria-expanded="menuOpen">
|
|
@@ -124,7 +124,7 @@
|
|
|
124
124
|
</button>
|
|
125
125
|
<h4 class="mr-4 text-sm font-medium text-white">
|
|
126
126
|
<span class="text-lightgray">Logged in as</span>
|
|
127
|
-
<span class="font-black">{{ ui.profile?.name }}</span>
|
|
127
|
+
<span class="ml-1 font-black">{{ ui.profile?.name }}</span>
|
|
128
128
|
</h4>
|
|
129
129
|
<img :src="ui.profile?.profilePicture" alt="" class="size-10 rounded-full" />
|
|
130
130
|
</div>
|
|
@@ -44,7 +44,7 @@ export function useNotchHandling(logger) {
|
|
|
44
44
|
if (isNotchBusy && !force) return;
|
|
45
45
|
|
|
46
46
|
try {
|
|
47
|
-
if (!isIOS()
|
|
47
|
+
if (!isIOS()) {
|
|
48
48
|
document.documentElement.style.setProperty("--safe-area-top", "0px");
|
|
49
49
|
document.documentElement.style.setProperty("--safe-area-right", "0px");
|
|
50
50
|
document.documentElement.style.setProperty("--safe-area-bottom", "0px");
|
|
@@ -52,6 +52,14 @@ export function useNotchHandling(logger) {
|
|
|
52
52
|
return;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
+
if (isIpadOS()) {
|
|
56
|
+
document.documentElement.style.setProperty("--safe-area-top", "12px");
|
|
57
|
+
document.documentElement.style.setProperty("--safe-area-right", "0px");
|
|
58
|
+
document.documentElement.style.setProperty("--safe-area-bottom", "0px");
|
|
59
|
+
document.documentElement.style.setProperty("--safe-area-left", "0px");
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
|
|
55
63
|
const isLandscape = isLandscapeMode();
|
|
56
64
|
const hasNotch = hasDeviceNotch();
|
|
57
65
|
|