[Bf-docboard-svn] bf-manual: [7530] trunk/blender_docs/resources/theme/css/epub_overrides.css: Epub: CSS fix for images spanding multiple headings

Aaron Carlisle noreply at blender.org
Tue Jan 5 18:24:01 CET 2021


Revision: 7530
          https://developer.blender.org/rBM7530
Author:   Blendify
Date:     2021-01-05 18:24:01 +0100 (Tue, 05 Jan 2021)
Log Message:
-----------
Epub: CSS fix for images spanding multiple headings

Modified Paths:
--------------
    trunk/blender_docs/resources/theme/css/epub_overrides.css

Modified: trunk/blender_docs/resources/theme/css/epub_overrides.css
===================================================================
--- trunk/blender_docs/resources/theme/css/epub_overrides.css	2021-01-05 16:44:42 UTC (rev 7529)
+++ trunk/blender_docs/resources/theme/css/epub_overrides.css	2021-01-05 17:24:01 UTC (rev 7530)
@@ -6,7 +6,13 @@
  *		https://www.sphinx-doc.org/en/master/extdev/appapi.html#sphinx.application.Sphinx.add_css_file
  */
 
+/* Allow text to flow around right alligned images */
 .align-right {
    float: right;
    margin: 0 0 24px 24px;
 }
+
+/* Prevent images from flowing into other headings */
+h1, h2, h3, h4, h5, h6 {
+  clear: both;
+}



More information about the Bf-docboard-svn mailing list