refactor(assets): 评论区与后台编辑器背景图换用 xiantiaoxiaogou_input_bg
This commit is contained in:
parent
79425ca678
commit
48107d8e18
@ -156,7 +156,7 @@ pub fn CommentForm(post_id: i32, parent_id: Option<i64>, parent_indent: Option<i
|
||||
oninput: move |e| content_md.set(e.value()),
|
||||
}
|
||||
img {
|
||||
src: "/images/xiantiaoxiaogou_03.webp",
|
||||
src: "/images/xiantiaoxiaogou_input_bg.webp",
|
||||
alt: "",
|
||||
class: "absolute bottom-1.5 right-1.5 w-24 pointer-events-none opacity-60 peer-focus:opacity-10 transition-opacity duration-300 z-0",
|
||||
}
|
||||
|
||||
@ -470,7 +470,7 @@ fn write_editor(post_id: Option<i32>) -> Element {
|
||||
class: "relative group flex-1 min-h-0 w-full border border-[var(--color-paper-border)] rounded-xl overflow-hidden bg-[var(--color-paper-entry)] shadow-[0_2px_8px_rgba(0,0,0,0.04)] dark:shadow-none",
|
||||
id: "tiptap-editor",
|
||||
img {
|
||||
src: "/images/xiantiaoxiaogou_03.webp",
|
||||
src: "/images/xiantiaoxiaogou_input_bg.webp",
|
||||
alt: "",
|
||||
class: "absolute bottom-1.5 right-1.5 opacity-60 group-focus-within:opacity-10 transition-opacity duration-300 pointer-events-none z-0",
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user