Skip to content

Commit

Permalink
Fix [Bug]: Too much space after webR block in RevealJS #102 (#103)
Browse files Browse the repository at this point in the history
Remove 100% height on interactive area
  • Loading branch information
coatless authored Nov 17, 2023
1 parent 7ab2811 commit 2ce7a4e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
1 change: 0 additions & 1 deletion _extensions/webr/webr-init.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
/* Reset the style of the interactive area */
.reveal div.qwebr-interactive-area {
width: 100%;
height: 100%;
display: block;
box-shadow: none;
max-width: 100%;
Expand Down
2 changes: 2 additions & 0 deletions docs/qwebr-release-notes.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ format:

## Bugfixes

- Fix text added after code cell in RevealJS appearing off the page ([#102](https://github.com/coatless/quarto-webr/issues/102))

## Documentation

- Minor documentation tweaks.
Expand Down
10 changes: 10 additions & 0 deletions tests/qwebr-test-revealjs.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,13 @@ print("Hello quarto-webr RevealJS world!")
3 + 5
```

## Text Before and After Code Cell

Sample text before

```{webr-r}
message("Hello World!")
```

Sample text after

0 comments on commit 2ce7a4e

Please sign in to comment.