Repository navigation
fix: show block properties on narrow web pages - #13934
Merged
Merged
Conversation
2 tasks done
megayu
approved these changes
Nov 6, 2026
Remove the ls-block container query that set .ls-properties-area to display:none below 430px. Web and PWA builds never receive the .ls-mobile-page override, so tag fields stayed hidden in portrait. The mobile override in app.css is unchanged. Co-authored-by: Tienson Qin <[email protected]>
tiensonqin
force-pushed
the
logseq/show-narrow-block-properties-103b
branch
from
November 17, 2026 03:19
0d77062 to
2286ead
Compare
2 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
logseq/db-test#1507
Cause
Every
.ls-blockis a container namedls-block. This rule insrc/main/frontend/components/block.csshid the whole properties area whenever that container was under 430px:Pill properties with
:ui-position :block-belowsit outside that element, so they stayed visible. Tag fields, Deadline, and the contents of "Show hidden properties" are rendered inside.ls-properties-area, so they disappeared.The native app undoes this in
src/main/mobile/components/app.csswith.ls-mobile-page .ls-properties-area { display: initial }. Web and PWA builds never get.ls-mobile-page, so the hide rule always won in portrait.Fix
Remove the hide rule. Properties use their normal
displayon the web build at any width. The mobile override is unchanged, so a narrow.ls-mobile-pageblock still computesdisplay: initial.Check
Web app, iPhone-sized viewport (390×844), block width 290px. No
.ls-mobile-page.Before,
.ls-properties-areacomputeddisplay: none(the Store and Notes rows were in the DOM and not painted):Before: tag properties hidden on a 390px web viewport
After, the same block computes
display: blockand the tag fields are visible. The When pill is unchanged:After: tag properties visible on a 390px web viewport
A 944px-wide block on the same page still computes
display: block. Injecting the existing mobile override under.ls-mobile-pagestill computesinlinebelow 430px.To show artifacts inline, enable in settings.