Merge branch 'mobile-app/scoped-styles' into mobile-app/prepare-webviews

* mobile-app/scoped-styles:
  Replace android and ios css layers with platform layer
  Change how show-on-native works
  Use the correct css layers for Android and iOS
This commit is contained in:
Adrien Maston
2025-12-18 08:53:59 +01:00
5 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
@layer reset, base, components, modules, utilities, native, android, ios;
@layer reset, base, components, modules, utilities, native, platform;
:root {
/* Spacing */
+1 -1
View File
@@ -1,4 +1,4 @@
@layer native {
@layer platform {
[data-platform~=android] {
.hide-on-android {
display: none;
+1 -1
View File
@@ -1,4 +1,4 @@
@layer native {
@layer platform {
[data-platform~=ios] {
.hide-on-ios {
display: none;
-4
View File
@@ -10,10 +10,6 @@
display: none;
}
.show-on-native {
display: unset;
}
/* Header
/* ------------------------------------------------------------------------ */
+3 -1
View File
@@ -270,7 +270,9 @@
}
.show-on-native {
display: none;
body:not([data-platform~=native]) & {
display: none;
}
}
.hide-scrollbar {