mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 00:24:51 +00:00
refactor: set parent for any page, not just tags (#11494)
* refactor: replace :class/parent with :logseq.property/parent * replace :class/schema.properties with property.class/properties * enhance: display schema properties directly in Tag properties * tag properties style tweaks * fix: properties view context * fix: limit parent to be classes or pages depends on the current node * enhance: display ancestors in Parent * fix: ancestors * enhance: display tag properties always for tags * enhance: display tag block container instead of properties area * enhance: show add property as popup instead of dialog * fix: tag parent must be a tag * enhance: display properties in the right sidebar * fix: tags style * fix: icon style * fix: positioned icons * fix: lint * fix: tests * fix: remove properties from rtc watched attrs * fix: graph-parser tests * enhance: style tweaks * enhance: page/create parses tags from user-input title * enhance(ux): [[ref]] followed by # (no whitespace) to add tags * fix: tests * fix: graph-parser lint and tests * fix: allow tagged nodes to be parents * enhance(ux): display tag property descriptions Also, make it editable.
This commit is contained in:
@@ -865,11 +865,35 @@ html.is-mac {
|
||||
}
|
||||
|
||||
.block-tags {
|
||||
@apply flex flex-row flex-wrap items-center gap-1;
|
||||
@apply flex flex-row flex-wrap self-start items-center gap-1;
|
||||
max-width: 256px;
|
||||
}
|
||||
.block-tag span {
|
||||
@apply h-6 whitespace-nowrap overflow-hidden;
|
||||
@apply whitespace-nowrap overflow-hidden;
|
||||
max-width: 160px;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.block-content-wrapper svg {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.ls-page-title .ls-page-icon svg, .ls-page-title .ls-page-icon button {
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
}
|
||||
|
||||
.ls-page-title .positioned-properties svg {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.ls-page-title .ls-page-icon button {
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.ls-page-title .positioned-properties {
|
||||
height: 54px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user