mobile version supports rtl

This commit is contained in:
MaysWind
2025-08-19 23:56:28 +08:00
parent efe39c7390
commit 13d5759e84
44 changed files with 534 additions and 219 deletions
+12
View File
@@ -58,6 +58,18 @@
<link rel="apple-touch-startup-image" media="screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="img/splash_screens/9.7__iPad_Pro__7.9__iPad_mini__9.7__iPad_Air__9.7__iPad_portrait.png">
<link rel="apple-touch-startup-image" media="screen and (device-width: 744px) and (device-height: 1133px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" href="img/splash_screens/8.3__iPad_Mini_portrait.png">
<link rel="manifest" href="manifest.json">
<link id="framework7-css" rel="stylesheet" crossorigin>
<script>
document.querySelector('html').setAttribute('data-dir-mode', 'isolate');
if (location.search.includes('rtl')) {
document.querySelector('html').setAttribute('dir', 'rtl');
document.getElementById('framework7-css').href = '{{framework7-rtl-css-filepath}}';
} else {
document.querySelector('html').removeAttribute('dir');
document.getElementById('framework7-css').href = '{{framework7-ltr-css-filepath}}';
}
</script>
<script src="./server_settings.js"></script>
</head>
<body>