mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-07-05 04:46:06 +00:00
Integrated capacitor, adjusted the fetch urls and UI elements position to fit the safe area on mobile
This commit is contained in:
@@ -17,6 +17,22 @@
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* Add safe-area offsets for iOS native mobile device */
|
||||
@supports (-webkit-touch-callout: none) {
|
||||
.safe-pt {
|
||||
padding-top: env(safe-area-inset-top);
|
||||
}
|
||||
.safe-pb {
|
||||
padding-bottom: env(safe-area-inset-bottom);
|
||||
}
|
||||
.safe-top {
|
||||
top: env(safe-area-inset-top);
|
||||
}
|
||||
.safe-mb {
|
||||
margin-bottom: env(safe-area-inset-bottom);
|
||||
}
|
||||
}
|
||||
|
||||
/* Add custom scrollbar styles */
|
||||
::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
|
||||
Reference in New Issue
Block a user