JankariTech / web-app-presentation-viewer

ownCloud Web Presentation Viewer is an extension of ownCloud Web to create and share slide presentations rendered from MD files
Apache License 2.0
4 stars 1 forks source link

[Bug]: code blocks in lists are not using existing space #40

Open individual-it opened 4 months ago

individual-it commented 4 months ago

Is there an existing issue for this?

Describe the bug

when using code-block in lists the code-block is only as wider as the list heading, even if more space is availibale

Steps To Reproduce

check the output of this presentation

1. enable xdebug module:
sudo phpenmod -v <PHP version> xdebug
```
  1. restart apache:
    sudo systemctl restart apache2

Expected Behavior

available space should be utilized

Actual Behavior

The first codeblock shows a scroll bar

Examples, Code Samples, or Screenshots

grafik

Workaround: use <!-- .element: style="width: 100%;" --> with the code block

1. enable xdebug module:
sudo phpenmod -v <PHP version> xdebug
```
<!-- .element: style="width: 100%;" -->
  1. restart apache:
    sudo systemctl restart apache2

Environment

- **OS**: Ubuntu 22.04
- **ownCloud Web**: ownCloud Web UI 8.0.0
- **oCIS**: Infinite Scale 5.0.0-RC4

What browsers are you seeing the problem on?

Firefox, Chrome