[maintainer-tools PATCH v2 2/4] doc: provide scrollbars for overflowing wavedrom timeline content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.nikula@xxxxxxxxx>
---
 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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux