Open mroavi opened 2 years ago
@cderv I'm not sure if this is something we can actually resolve given how reveal handles images and sizes. I'm targeting for "Future" but it would be good to know the lay of the landscape when you get a chance to take a closer look at this.
I can reproduce this issue. Taking a look at the html inspector it seems that the following lines are defining the upper threshold.
.reveal img, .reveal video, .reveal iframe {
max-width: 95%;
max-height: 95%;
}
Increasing this in my custom theme solved it for me.
System info
quarto-cli git version:
d7a4cf1cc
I'm not using RStudio IDE.
My system:
Bug description
The
height
parameter does not seem to be working as expected when using absolute positioning of images. For example, the following code generates two slides with images of the same size.Here are the properties of the image I'm using:
Here is the image itself (not sure if GitHub compresses it):
Apparently, the image stops being resized if the height value is above a certain threshold. Moreover, Changing the
width
parameter has different behavior than changing theheight
. I also noticed that the image automatically appears way smaller than when using something like![](image.png){width=60% fig-align="center"}
.Checklist
quarto check
in a terminal in your issue?