Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jul 2019 06:20:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        doc@FreeBSD.org
Subject:   [Bug 239471] Style sheet for "important" warning is too wide
Message-ID:  <bug-239471-9@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D239471

            Bug ID: 239471
           Summary: Style sheet for "important" warning is too wide
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Documentation
          Assignee: doc@FreeBSD.org
          Reporter: thogard@abnormal.com

The "important" boxes on the web pages all hang over to the right compared =
to
all the other boxes.  This is a result of the red highlight on the left sid=
e.

My proposed fixes is add a calculated width in a later element.  I did this=
 to
fail more gracefully in browsers that don't support calc.  Note the spaces =
in
"90% - 11px" are required.=20

--- docbook.css.orig    2019-07-27 15:56:36.000000000 +1000
+++ docbook.css 2019-07-27 16:07:41.000000000 +1000
@@ -334,14 +334,18 @@
 .important {
        font-style:italic;
        border: 1px solid #a00;
        border-left: 12px solid #c00;
        width: 90%;
 }

+.important {
+       width: calc(90% - 11px);
+}
+
 .warning {
        color: #9F1313;

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-239471-9>