@for (user of users(); track user.id; let index = $index) {
+
+
+
+
+
+
+
+
diff --git a/client/src/manifest.json b/client/src/manifest.json
new file mode 100644
index 0000000..3844f95
--- /dev/null
+++ b/client/src/manifest.json
@@ -0,0 +1,5 @@
+{
+ "name": "MinigolfFreitag",
+ "start_url": "events",
+ "display": "fullscreen"
+}
diff --git a/client/src/styles.scss b/client/src/styles.scss
index 6051a12..36e5950 100644
--- a/client/src/styles.scss
+++ b/client/src/styles.scss
@@ -95,6 +95,19 @@
font-size: 14px;
}
+ @media screen and (orientation: portrait) {
+ body {
+ padding: env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left);
+ }
+ }
+
+ @media screen and (orientation: landscape) {
+ body {
+ padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom)
+ env(safe-area-inset-left);
+ }
+ }
+
* {
box-sizing: border-box;
}
@@ -233,4 +246,8 @@
.p-tooltip-text {
white-space: break-spaces;
}
+
+ .p-toast {
+ padding: env(safe-area-inset-top) env(safe-area-inset-right) 0 env(safe-area-inset-left);
+ }
}