mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-10-21 16:52:32 +00:00
Merge pull request #1067 from Hsiii/fix/mobile-status-header-offset
fix(ios): position sync status below header controls
This commit is contained in:
+12
@@ -481,6 +481,11 @@ span.ls-mark-cr::after {
|
|||||||
font-size: 80%;
|
font-size: 80%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.is-mobile.is-ios .livesync-status {
|
||||||
|
box-sizing: border-box;
|
||||||
|
top: calc(var(--header-height) + var(--view-header-height, var(--header-height)) + var(--size-4-2));
|
||||||
|
}
|
||||||
|
|
||||||
div.workspace-leaf-content[data-type="bases"] .livesync-status {
|
div.workspace-leaf-content[data-type="bases"] .livesync-status {
|
||||||
top: calc(var(--bases-header-height) + var(--header-height));
|
top: calc(var(--bases-header-height) + var(--header-height));
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
@@ -493,6 +498,13 @@ div.workspace-leaf-content[data-type="bases"] .livesync-status {
|
|||||||
padding-right: 18px;
|
padding-right: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.is-mobile.is-ios div.workspace-leaf-content[data-type="bases"] .livesync-status {
|
||||||
|
top: calc(
|
||||||
|
var(--bases-header-height) + var(--header-height) + var(--view-header-height, var(--header-height)) +
|
||||||
|
var(--size-4-2)
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
.livesync-status div {
|
.livesync-status div {
|
||||||
opacity: 0.6;
|
opacity: 0.6;
|
||||||
-webkit-filter: grayscale(100%);
|
-webkit-filter: grayscale(100%);
|
||||||
|
|||||||
@@ -49,6 +49,7 @@ Earlier releases remain available in the 0.25 release history and the legacy rel
|
|||||||
|
|
||||||
#### Fixed
|
#### Fixed
|
||||||
|
|
||||||
|
- The in-editor LiveSync status on iOS now remains below the view-header controls instead of overlapping them.
|
||||||
- The Remediation setting now displays its configured modification-time limit without raising a `HierarchyRequestError`.
|
- The Remediation setting now displays its configured modification-time limit without raising a `HierarchyRequestError`.
|
||||||
|
|
||||||
## 1.0.2
|
## 1.0.2
|
||||||
|
|||||||
Reference in New Issue
Block a user