mirror of
https://seed.radicle.dev/rad:zwTxygwuz5LDGBq255RA2CbNGrz8.git
synced 2026-10-18 19:30:29 +08:00
fix: CSS class names for branches and commits
This commit is contained in:
+2
-6
@@ -545,15 +545,11 @@ impl PageData {
|
||||
who: _,
|
||||
} => Element::new(Tag::Span)
|
||||
.with_text("branch ")
|
||||
.with_child(
|
||||
Element::new(Tag::Code)
|
||||
.with_class("branch)")
|
||||
.with_text(name),
|
||||
)
|
||||
.with_child(Element::new(Tag::Code).with_class("branch").with_text(name))
|
||||
.with_text(", commit ")
|
||||
.with_child(
|
||||
Element::new(Tag::Code)
|
||||
.with_class("commit)")
|
||||
.with_class("commit")
|
||||
.with_text(commit.to_string()),
|
||||
)
|
||||
.with_child(Element::new(Tag::Br))
|
||||
|
||||
Reference in New Issue
Block a user