[Intel-gfx] [maintainer-tools PATCH v2 2/4] doc: provide scrollbars for overflowing wavedrom timeline content
Sean Paul
seanpaul at chromium.org
Thu Aug 10 16:31:34 UTC 2017
On Thu, Aug 10, 2017 at 5:39 AM, Jani Nikula <jani.nikula at intel.com> wrote:
> 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 at intel.com>
Reviewed-by: Sean Paul <seanpaul at chromium.org>
> ---
> 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
>
More information about the Intel-gfx
mailing list