Wrap wavedrom timelines in <div style="overflow-x:auto"> (idea copied
from the wavedrom sphinx extension) to provide scrollbars for
overflowing content. This is useful even with rst2html.

Signed-off-by: Jani Nikula <jani.nik...@intel.com>
---
 drm-intel-timeline.rst | 2 ++
 drm-misc-timeline.rst  | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/drm-intel-timeline.rst b/drm-intel-timeline.rst
index fe69fd374cf6..a0327d360ceb 100644
--- a/drm-intel-timeline.rst
+++ b/drm-intel-timeline.rst
@@ -8,6 +8,7 @@
        }
        window.onload = init;
        </script>
+       <div style="overflow-x:auto">
        <script type="WaveDrom">
 
 .. raw:: html
@@ -16,3 +17,4 @@
 .. raw:: html
 
        </script>
+       </div>
diff --git a/drm-misc-timeline.rst b/drm-misc-timeline.rst
index 76eb780ebd0a..bd143aa8256f 100644
--- a/drm-misc-timeline.rst
+++ b/drm-misc-timeline.rst
@@ -8,6 +8,7 @@
        }
        window.onload = init;
        </script>
+       <div style="overflow-x:auto">
        <script type="WaveDrom">
 
 .. raw:: html
@@ -16,3 +17,4 @@
 .. raw:: html
 
        </script>
+       </div>
-- 
2.11.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to