返回 DeepSeek-Reasonix
MarkdownImage.css
根目录 / desktop / frontend / src / components / MarkdownImage.css
1 .md > img,
2 .md p > img {
3 display: block;
4 max-width: 100%;
5 height: auto;
6 object-fit: contain;
7 }
8
9 .md-image-placeholder,
10 .md-image-fallback {
11 display: inline-flex;
12 min-width: 96px;
13 min-height: 36px;
14 align-items: center;
15 justify-content: center;
16 gap: 8px;
17 padding: 6px 10px;
18 border: 1px solid var(--border);
19 border-radius: 6px;
20 background: var(--bg-soft);
21 color: var(--fg-dim);
22 font-size: 12px;
23 }
24
25 .md-image-placeholder::before {
26 content: "";
27 width: 14px;
28 height: 14px;
29 border: 2px solid var(--border);
30 border-top-color: var(--accent);
31 border-radius: 50%;
32 animation: spin 0.8s linear infinite;
33 }
34
34 lines CSS