Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/rari-doc/src/templ/templs/links/cssxref.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ use crate::templ::api::RariApi;
/// # Examples
/// * `{{CSSxRef("color")}}` -> links to CSS property at `/Web/CSS/Reference/Properties/color`
/// * `{{CSSxRef("background-color", "background color")}}` -> custom display text
/// * `{{CSSxRef("calc()", "", "#syntax")}}` -> links to calc() function with anchor at `/Web/CSS/Reference/Values/calc`
/// * `{{CSSxRef("calc()", "", "#syntax")}}` -> links to calc() function with anchor at `/Web/CSS/Reference/Values/calc#syntax`
/// * `{{CSSxRef("<color>")}}` -> links to color data type at `/Web/CSS/Reference/Values/color_value`
/// * `{{CSSxRef(":hover")}}` -> links to pseudo-class at `/Web/CSS/Reference/Selectors/:hover`
/// * `{{CSSxRef("@media")}}` -> links to at-rule at `/Web/CSS/Reference/At-rules/@media`
Expand Down Expand Up @@ -80,7 +80,7 @@ pub fn cssxref_internal(
"&lt;overflow&gt;" | "<overflow>" => "overflow_value",
"&lt;position&gt;" | "<position>" => "position_value",
":host()" => ":host_function",
"fit-content()" => "fit_content_function",
"fit-content()" => "fit-content_function",
_ => slug,
};

Expand Down
Loading