mirror of
https://github.com/welpo/tabi.git
synced 2026-03-10 01:57:20 +01:00
🎨 style(image): display linked images inline within paragraphs
Images wrapped in links inside paragraphs (p > a > img) are now displayed inline, matching the existing img.inline behaviour. This covers a common Markdown pattern — badges and status icons like [](url) — where block display breaks the intended horizontal flow without requiring authors to switch to raw HTML.
This commit is contained in:
parent
4460f6e52b
commit
96e4fed704
1 changed files with 3 additions and 1 deletions
|
|
@ -20,8 +20,10 @@ img {
|
|||
height: auto;
|
||||
}
|
||||
|
||||
img.inline {
|
||||
img.inline,
|
||||
p > a > img {
|
||||
display: inline;
|
||||
margin: 0;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue