refactor(assets): 编辑器背景图缩小至 w-24 并贴近右下角

原图无宽度约束,按原始尺寸渲染占满编辑器;现固定 w-24(与评论区
一致)并用 bottom-2 right-2 定位到右下角。一并提交新增的线条小狗
素材图与图标资源。
This commit is contained in:
xfy 2026-07-02 11:22:34 +08:00
parent 48a21564c4
commit 9a218db478
5 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#e3e3e3"><path d="M40-120v-80h880v80H40Zm120-120q-33 0-56.5-23.5T80-320v-440q0-33 23.5-56.5T160-840h640q33 0 56.5 23.5T880-760v440q0 33-23.5 56.5T800-240H160Zm0-80h640v-440H160v440Zm0 0v-440 440Z"/></svg>

After

Width:  |  Height:  |  Size: 302 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

View File

@ -472,7 +472,7 @@ fn write_editor(post_id: Option<i32>) -> Element {
img {
src: "/images/xiantiaoxiaogou_input_bg.webp",
alt: "",
class: "absolute bottom-1.5 right-1.5 opacity-10 pointer-events-none z-0",
class: "absolute bottom-2 right-2 w-24 opacity-10 pointer-events-none z-0",
}
}
}