style image in figure
This commit is contained in:
parent
2fd16d24f0
commit
4e34ce03df
8 changed files with 117 additions and 1 deletions
|
|
@ -17,3 +17,9 @@
|
|||
}
|
||||
#let nav-menu = html.elem.with("nav-menu")
|
||||
#let home-symbol = html.elem.with("home-symbol")
|
||||
|
||||
#let fullscreen-overlay = html.elem.with("fullscreen-overlay")
|
||||
#let image-magnifier-group(body) = {
|
||||
// Role 'radiogroup' is needed because of bug in chromium with screenreaders (https://lyra.horse/blog/2025/08/you-dont-need-js/#fn:10)
|
||||
html.elem("image-magnifier-group", attrs: (role: "radiogroup"), body)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue