diff --git a/Cargo.toml b/Cargo.toml index b149d7a2..ad9b9767 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,7 +12,7 @@ categories = ["network-programming", "web-programming"] exclude.workspace = true [workspace.package] -version = "0.30.7" +version = "0.30.8" readme = "README.md" edition = "2024" authors = ["root@ltpp.vip"] @@ -38,13 +38,13 @@ resolver = "3" crate-type = ["rlib"] [workspace.dependencies] -euv = { path = ".", version = "0.30.7" } -euv-ui = { path = "ui", version = "0.30.7" } -euv-cli = { path = "cli", version = "0.30.7" } -euv-core = { path = "core", version = "0.30.7" } -euv-engine = { path = "engine", version = "0.30.7" } -euv-macros = { path = "macros", version = "0.30.7" } -euv-example = { path = "example", version = "0.30.7" } +euv = { path = ".", version = "0.30.8" } +euv-ui = { path = "ui", version = "0.30.8" } +euv-cli = { path = "cli", version = "0.30.8" } +euv-core = { path = "core", version = "0.30.8" } +euv-engine = { path = "engine", version = "0.30.8" } +euv-macros = { path = "macros", version = "0.30.8" } +euv-example = { path = "example", version = "0.30.8" } log = "0.4.34" toml = "0.9.12" diff --git a/docs/src/app/const.rs b/docs/src/app/const.rs index c1177370..02be6bb8 100644 --- a/docs/src/app/const.rs +++ b/docs/src/app/const.rs @@ -44,15 +44,20 @@ pub(crate) const APP_GLOBAL_CSS: &str = "html, body { height: 100% !important; o .c_nav_section_label { padding-left: 0.75rem !important; } \ .c_nav_footer { padding-left: 0.75rem !important; } \ .c_euv_sidebar_children { margin-left: 8px !important; padding-left: 8px !important; } \ - /* The dashed tree guide is the children's left edge, so a - nested marker has to sit against it, not against the - content box the 8px padding pushes right. `left: -8px` - walks the marker back over exactly that padding, so it - abuts the dashed border at every nesting level. + /* The dashed tree guide is the children's left edge, and the + hover marker should *replace* it on the hovered row, not sit + beside it. The guide paints at margin-left (8px) of the + children container; the row's padding box starts 1px (border) + + 8px (padding) further right. `left: -9px` walks the marker + back over both, so the 5px bar's left edge lands exactly on + the guide and covers its 1px for this row's height — measured + bar x == guide x at every nesting level (guide 8px left of + the row at all depths). Other rows keep their dashed segment + because their ::before stays transparent at rest. Matched by descendant, not child: the renderer wraps each row, so the row is never a direct child of `c_euv_sidebar_children`. */ \ - .c_euv_sidebar_children .c_euv_sidebar_link::before, .c_euv_sidebar_children .c_euv_sidebar_group_title::before { left: -8px !important; } \ + .c_euv_sidebar_children .c_euv_sidebar_link::before, .c_euv_sidebar_children .c_euv_sidebar_group_title::before { left: -9px !important; } \ .c_euv_sidebar_children .c_euv_sidebar_link_active::before, .c_euv_sidebar_children .c_euv_sidebar_group_title_active::before { left: -8px !important; } \ .c_euv_sidebar_children .c_euv_sidebar_link_active_flush::before { left: 0 !important; } \ \